mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: Check undefined streamInfo.url
When remuxing and transcoding are disabled and the media cannot be played direct, `streamInfo.url` is not set.
This commit is contained in:
parent
4792631f06
commit
a5163d0be4
1 changed files with 1 additions and 1 deletions
|
@ -3034,7 +3034,7 @@ class PlaybackManager {
|
|||
|
||||
const streamInfo = error.streamInfo || getPlayerData(player).streamInfo;
|
||||
|
||||
if (streamInfo) {
|
||||
if (streamInfo?.url) {
|
||||
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