mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3614 from dmitrylyzo/fix-undefined-streaminfo-url
Check undefined streamInfo.url
This commit is contained in:
commit
76ca94094b
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