mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
reset subtitle offset on track change
This commit is contained in:
parent
aca0fb09bc
commit
b0d4b94140
@ -603,7 +603,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
|
||||
offsetValue = updateCurrentTrackOffset(offsetValue);
|
||||
setVttSubtitleOffset(trackElement, offsetValue);
|
||||
} else {
|
||||
console.log("No available track, cannot apply offset : " + offsetValue);
|
||||
console.log("No available track, cannot apply offset : ", offsetValue);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -1022,6 +1022,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
|
||||
return;
|
||||
}
|
||||
|
||||
self.resetSubtitleOffset();
|
||||
var item = self._currentPlayOptions.item;
|
||||
|
||||
destroyCustomTrack(videoElement);
|
||||
|
Loading…
Reference in New Issue
Block a user