diff options
Diffstat (limited to 'browser/extensions/pictureinpicture/video-wrappers/hulu.js')
-rw-r--r-- | browser/extensions/pictureinpicture/video-wrappers/hulu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/extensions/pictureinpicture/video-wrappers/hulu.js b/browser/extensions/pictureinpicture/video-wrappers/hulu.js index fdaf6d7c18..000e8f661b 100644 --- a/browser/extensions/pictureinpicture/video-wrappers/hulu.js +++ b/browser/extensions/pictureinpicture/video-wrappers/hulu.js @@ -32,7 +32,7 @@ class PictureInPictureVideoWrapper { if (container) { updateCaptionsFunction(""); - const callback = function (mutationsList, observer) { + const callback = function () { // This will get the subtitles for both live and regular playback videos // and combine them to display. liveVideoText should be an empty string // when the video is regular playback and vice versa. If both @@ -63,7 +63,7 @@ class PictureInPictureVideoWrapper { }); } } - getDuration(video) { + getDuration() { return this.player.duration; } } |