1
0
Fork 0
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:
Luke Pulverenti 2016-02-20 01:57:17 -05:00
parent bcfec3d6fc
commit 70be2ac62e
4 changed files with 16 additions and 11 deletions

View file

@ -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;
}