Clean up
This commit is contained in:
5
dist/plyr.mjs
vendored
5
dist/plyr.mjs
vendored
@ -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);
|
||||
|
Reference in New Issue
Block a user