mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
set secondary sub index after player succeeds
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
e5c05b4ebc
commit
5a217ca084
1 changed files with 1 additions and 2 deletions
|
@ -1598,10 +1598,9 @@ class PlaybackManager {
|
|||
return;
|
||||
}
|
||||
|
||||
getPlayerData(player).secondarySubtitleStreamIndex = index;
|
||||
|
||||
try {
|
||||
player.setSecondarySubtitleStreamIndex(index);
|
||||
getPlayerData(player).secondarySubtitleStreamIndex = index;
|
||||
} catch (e) {
|
||||
console.error('[playbackmanager] AutoSet - Failed to set secondary track:', e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue