Skip to content

Commit 42de476

Browse files
authored
add new OEmbed parameters for start_time, end_time, chapter_id, and watch_full_video (#971)
1 parent be5bb1a commit 42de476

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

dist/player.es.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ function processData(player, data) {
12751275
/**
12761276
* @module lib/embed
12771277
*/
1278-
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'];
1278+
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'];
12791279

12801280
/**
12811281
* Get the 'data-vimeo'-prefixed attributes from an element as an object.

dist/player.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/player.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/player.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/player.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/embed.js

+4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ const oEmbedParameters = [
1414
'background',
1515
'byline',
1616
'cc',
17+
'chapter_id',
1718
'chapters',
1819
'chromecast',
1920
'color',
2021
'colors',
2122
'controls',
2223
'dnt',
24+
'end_time',
2325
'fullscreen',
2426
'height',
2527
'id',
@@ -36,13 +38,15 @@ const oEmbedParameters = [
3638
'quality_selector',
3739
'responsive',
3840
'speed',
41+
'start_time',
3942
'texttrack',
4043
'title',
4144
'transcript',
4245
'transparent',
4346
'url',
4447
'vimeo_logo',
4548
'volume',
49+
'watch_full_video',
4650
'width'
4751
];
4852

0 commit comments

Comments
 (0)