mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix subtitle position after seek in chrome
This commit is contained in:
parent
bcfec3d6fc
commit
70be2ac62e
4 changed files with 16 additions and 11 deletions
|
@ -522,10 +522,11 @@
|
|||
|
||||
// Safari uses integers for the mode property
|
||||
// http://www.jwplayer.com/html5/scripting/
|
||||
// edit: not anymore
|
||||
var useNumericMode = false;
|
||||
|
||||
if (!isNaN(allTracks[i].mode)) {
|
||||
useNumericMode = true;
|
||||
//useNumericMode = true;
|
||||
}
|
||||
|
||||
if (useNumericMode) {
|
||||
|
|
|
@ -705,7 +705,10 @@
|
|||
if (mediaUrl.indexOf('.mkv') == -1) {
|
||||
mediaUrl += '&EnableAutoStreamCopy=false';
|
||||
}
|
||||
startTimeTicksOffset = startPosition || 0;
|
||||
|
||||
if (mediaUrl.toLowerCase().indexOf('copytimestamps=true') == -1) {
|
||||
startTimeTicksOffset = startPosition || 0;
|
||||
}
|
||||
|
||||
contentType = 'video/' + mediaSource.TranscodingContainer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue