From 159a7f55d30bf7221a1054d94b09f37f609b52e2 Mon Sep 17 00:00:00 2001 From: Cromefire_ Date: Wed, 22 Jul 2020 20:12:32 +0200 Subject: [PATCH] Fixed old function type Co-authored-by: Cameron --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 097c6a9e65..75eca691c1 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -924,7 +924,7 @@ function supportsTextTracks() { loading.hide(); - htmlMediaHelper.seekOnPlaybackStart(this, e.target, this._currentPlayOptions.playerStartPositionTicks, function () { + htmlMediaHelper.seekOnPlaybackStart(this, e.target, this._currentPlayOptions.playerStartPositionTicks, () => { if (this.currentSubtitlesOctopus) { this.currentSubtitlesOctopus.timeOffset = (this._currentPlayOptions.transcodingOffsetTicks || 0) / 10000000 + this.currentTrackOffset; this.currentSubtitlesOctopus.resize();