mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Don't check specific reason
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
20e29b81b5
commit
6feb46fecb
1 changed files with 1 additions and 1 deletions
|
@ -3296,7 +3296,7 @@ class PlaybackManager {
|
|||
const streamInfo = error.streamInfo || getPlayerData(player).streamInfo;
|
||||
|
||||
if (streamInfo?.url) {
|
||||
const isAlreadyFallbacking = streamInfo.url.toLowerCase().includes('transcodereasons=directplayerror');
|
||||
const isAlreadyFallbacking = streamInfo.url.toLowerCase().includes('transcodereasons');
|
||||
const currentlyPreventsVideoStreamCopy = streamInfo.url.toLowerCase().indexOf('allowvideostreamcopy=false') !== -1;
|
||||
const currentlyPreventsAudioStreamCopy = streamInfo.url.toLowerCase().indexOf('allowaudiostreamcopy=false') !== -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue