mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fixes #577 - Subtitle Failures
This commit is contained in:
parent
16bd6ed28e
commit
008a512a5d
@ -1474,7 +1474,7 @@
|
||||
return i.Type == "Subtitle";
|
||||
});
|
||||
|
||||
var currentIndex = getParameterByName('SubtitleStreamIndex', currentMediaElement.currentSrc);
|
||||
var currentIndex = getParameterByName('SubtitleStreamIndex', currentMediaElement.currentSrc) || -1;
|
||||
|
||||
var html = '';
|
||||
|
||||
@ -1549,7 +1549,7 @@
|
||||
return i.Type == "Video";
|
||||
})[0];
|
||||
|
||||
var currentVideoBitrate = getParameterByName('videoBitrate', currentMediaElement.currentSrc) || getParameterByName('VideoBitrate', currentMediaElement.currentSrc);
|
||||
var currentVideoBitrate = getParameterByName('videoBitrate', currentMediaElement.currentSrc);
|
||||
|
||||
var maxAllowedWidth = Math.max(screen.height, screen.width);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user