Clean up
This commit is contained in:
@ -133,7 +133,8 @@ const captions = {
|
||||
});
|
||||
|
||||
// Turn off native caption rendering to avoid double captions
|
||||
Object.assign(track, { mode: 'hidden' });
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
track.mode = 'hidden';
|
||||
|
||||
// Add event listener for cue changes
|
||||
on.call(this, track, 'cuechange', () => captions.updateCues.call(this));
|
||||
|
@ -63,10 +63,6 @@ a.plyr__control {
|
||||
|
||||
// Video control
|
||||
.plyr--video .plyr__control {
|
||||
/* svg {
|
||||
filter: drop-shadow(0 1px 1px rgba(#000, 0.15));
|
||||
} */
|
||||
|
||||
// Hover and tab focus
|
||||
&.plyr__tab-focus,
|
||||
&:hover,
|
||||
|
Reference in New Issue
Block a user