mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix browser seek
This commit is contained in:
parent
bf80b29a97
commit
8f3dc87100
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,9 @@
|
||||||
|
|
||||||
var maxWidth = params.MaxWidth || getParameterByName('MaxWidth', currentSrc);
|
var maxWidth = params.MaxWidth || getParameterByName('MaxWidth', currentSrc);
|
||||||
var audioStreamIndex = params.AudioStreamIndex == null ? getParameterByName('AudioStreamIndex', currentSrc) : params.AudioStreamIndex;
|
var audioStreamIndex = params.AudioStreamIndex == null ? getParameterByName('AudioStreamIndex', currentSrc) : params.AudioStreamIndex;
|
||||||
|
if (typeof (audioStreamIndex) == 'string') {
|
||||||
|
audioStreamIndex = parseInt(audioStreamIndex);
|
||||||
|
}
|
||||||
var subtitleStreamIndex = self.currentSubtitleStreamIndex;
|
var subtitleStreamIndex = self.currentSubtitleStreamIndex;
|
||||||
var videoBitrate = parseInt(getParameterByName('VideoBitrate', currentSrc) || '0');
|
var videoBitrate = parseInt(getParameterByName('VideoBitrate', currentSrc) || '0');
|
||||||
var audioBitrate = parseInt(getParameterByName('AudioBitrate', currentSrc) || '0');
|
var audioBitrate = parseInt(getParameterByName('AudioBitrate', currentSrc) || '0');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue