mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-19 08:56:31 +02:00
fix mediasession breaking on player repeat (#1472)
- switch to single web player instance for loop instead of dual-player - this fixes the issue, but does have a breaking change if using the crossfade player
This commit is contained in:
@@ -136,6 +136,8 @@ export function RadioWebPlayer() {
|
||||
<WebPlayerEngine
|
||||
isMuted={isMuted}
|
||||
isTransitioning={false}
|
||||
loopPlayer1={false}
|
||||
loopPlayer2={false}
|
||||
onEndedPlayer1={onEndedPlayer1}
|
||||
onEndedPlayer2={() => {}}
|
||||
onErrorPause={() => {}}
|
||||
|
||||
Reference in New Issue
Block a user