Update src/components/htmlvideoplayer/plugin.js

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
redSpoutnik 2019-10-25 18:21:54 +02:00 committed by GitHub
parent 608a3e3200
commit c30e6b56a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -594,7 +594,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
return t.Index === customTrackIndex;
})[0];
if(track) {
if (track) {
offsetValue = updateCurrentTrackOffset(offsetValue);
setVttSubtitleOffset(trackElement, offsetValue);
} else {