This commit is contained in:
Sam Potts
2019-06-21 00:10:57 +10:00
parent e8e2b8ba39
commit c4b3e0672e
20 changed files with 125 additions and 304 deletions

5
dist/plyr.js vendored
View File

@ -3339,10 +3339,9 @@ typeof navigator === "object" && (function (global, factory) {
meta.set(track, {
default: track.mode === 'showing'
}); // Turn off native caption rendering to avoid double captions
// eslint-disable-next-line no-param-reassign
Object.assign(track, {
mode: 'hidden'
}); // Add event listener for cue changes
track.mode = 'hidden'; // Add event listener for cue changes
on.call(_this, track, 'cuechange', function () {
return captions.updateCues.call(_this);

2
dist/plyr.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/plyr.min.mjs vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

5
dist/plyr.mjs vendored
View File

@ -3333,10 +3333,9 @@ var captions = {
meta.set(track, {
default: track.mode === 'showing'
}); // Turn off native caption rendering to avoid double captions
// eslint-disable-next-line no-param-reassign
Object.assign(track, {
mode: 'hidden'
}); // Add event listener for cue changes
track.mode = 'hidden'; // Add event listener for cue changes
on.call(_this, track, 'cuechange', function () {
return captions.updateCues.call(_this);

View File

@ -9144,10 +9144,9 @@ typeof navigator === "object" && (function (global, factory) {
meta.set(track, {
default: track.mode === 'showing'
}); // Turn off native caption rendering to avoid double captions
// eslint-disable-next-line no-param-reassign
Object.assign(track, {
mode: 'hidden'
}); // Add event listener for cue changes
track.mode = 'hidden'; // Add event listener for cue changes
on.call(_this, track, 'cuechange', function () {
return captions.updateCues.call(_this);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9138,10 +9138,9 @@ var captions = {
meta.set(track, {
default: track.mode === 'showing'
}); // Turn off native caption rendering to avoid double captions
// eslint-disable-next-line no-param-reassign
Object.assign(track, {
mode: 'hidden'
}); // Add event listener for cue changes
track.mode = 'hidden'; // Add event listener for cue changes
on.call(_this, track, 'cuechange', function () {
return captions.updateCues.call(_this);