diff --git a/src/components/player/Player.tsx b/src/components/player/Player.tsx index 1d580707..523b2a42 100644 --- a/src/components/player/Player.tsx +++ b/src/components/player/Player.tsx @@ -770,14 +770,6 @@ const Player = ({ currentEntryList, muted, children }: any, ref: any) => { playQueue.currentPlayer === 1 && player.status === 'PLAYING' } - onError={() => { - if (config.serverType !== Server.Jellyfin) { - if (playQueue[currentEntryList].length > 0) { - player1Ref.current.audioEl.current.src = './components/player/dummy.mp3'; - player1Ref.current.audioEl.current.src = getSrc1(); - } - } - }} muted={muted} crossOrigin="anonymous" /> @@ -796,14 +788,6 @@ const Player = ({ currentEntryList, muted, children }: any, ref: any) => { playQueue.currentPlayer === 2 && player.status === 'PLAYING' } - onError={() => { - if (config.serverType !== Server.Jellyfin) { - if (playQueue[currentEntryList].length > 0) { - player2Ref.current.audioEl.current.src = './components/player/dummy.mp3'; - player2Ref.current.audioEl.current.src = getSrc2(); - } - } - }} muted={muted} crossOrigin="anonymous" />