Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new embed parameters for start_time, end_time, chapter_id, and watch_full_video #971

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading