From 394c1195d18fcad9e3139f9d1d82dc9b0e72d392 Mon Sep 17 00:00:00 2001 From: Cromefire_ Date: Tue, 21 Jul 2020 22:34:08 +0200 Subject: [PATCH] Initialize currentSubtitlesOctopus Co-authored-by: Cameron --- src/plugins/htmlVideoPlayer/plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index cd68db5b34..097c6a9e65 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1073,6 +1073,7 @@ function supportsTextTracks() { this.customTrackIndex = -1; this.currentClock = null; + this.currentSubtitlesOctopus = null; this._currentAspectRatio = null; const octopus = this.currentSubtitlesOctopus;