Skip to content

Commit

Permalink
add new OEmbed parameters for start_time, end_time, chapter_id, and w…
Browse files Browse the repository at this point in the history
…atch_full_video (#971)
  • Loading branch information
jdreetz authored Mar 6, 2024
1 parent be5bb1a commit 42de476
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/player.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ function processData(player, data) {
/**
* @module lib/embed
*/
var oEmbedParameters = ['airplay', 'audio_tracks', 'autopause', 'autoplay', 'background', 'byline', 'cc', 'chapters', 'chromecast', 'color', 'colors', 'controls', 'dnt', 'fullscreen', 'height', 'id', 'interactive_params', 'keyboard', 'loop', 'maxheight', 'maxwidth', 'muted', 'play_button_position', 'playsinline', 'portrait', 'progress_bar', 'quality_selector', 'responsive', 'speed', 'texttrack', 'title', 'transcript', 'transparent', 'url', 'vimeo_logo', 'volume', 'width'];
var oEmbedParameters = ['airplay', 'audio_tracks', 'autopause', 'autoplay', 'background', 'byline', 'cc', 'chapter_id', 'chapters', 'chromecast', 'color', 'colors', 'controls', 'dnt', 'end_time', 'fullscreen', 'height', 'id', 'interactive_params', 'keyboard', 'loop', 'maxheight', 'maxwidth', 'muted', 'play_button_position', 'playsinline', 'portrait', 'progress_bar', 'quality_selector', 'responsive', 'speed', 'start_time', 'texttrack', 'title', 'transcript', 'transparent', 'url', 'vimeo_logo', 'volume', 'watch_full_video', 'width'];

/**
* Get the 'data-vimeo'-prefixed attributes from an element as an object.
Expand Down
2 changes: 1 addition & 1 deletion dist/player.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/player.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/player.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/player.min.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/lib/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ const oEmbedParameters = [
'background',
'byline',
'cc',
'chapter_id',
'chapters',
'chromecast',
'color',
'colors',
'controls',
'dnt',
'end_time',
'fullscreen',
'height',
'id',
Expand All @@ -36,13 +38,15 @@ const oEmbedParameters = [
'quality_selector',
'responsive',
'speed',
'start_time',
'texttrack',
'title',
'transcript',
'transparent',
'url',
'vimeo_logo',
'volume',
'watch_full_video',
'width'
];

Expand Down

0 comments on commit 42de476

Please sign in to comment.