Merge pull request #1095 from JustAMan/fix-subs-on-mobile

Fix .ass subtitles not starting on mobile
This commit is contained in:
Vasily
2020-04-16 14:12:03 +03:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -857,7 +857,9 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
loading.hide();
htmlMediaHelper.seekOnPlaybackStart(self, e.target, self._currentPlayOptions.playerStartPositionTicks);
htmlMediaHelper.seekOnPlaybackStart(self, e.target, self._currentPlayOptions.playerStartPositionTicks, function () {
if (currentSubtitlesOctopus) currentSubtitlesOctopus.resize();
});
if (self._currentPlayOptions.fullscreen) {