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:
jeffvli
2026-05-22 01:32:22 -07:00
parent 0e163543fc
commit 755f0aab9d
4 changed files with 128 additions and 12 deletions
@@ -136,6 +136,8 @@ export function RadioWebPlayer() {
<WebPlayerEngine
isMuted={isMuted}
isTransitioning={false}
loopPlayer1={false}
loopPlayer2={false}
onEndedPlayer1={onEndedPlayer1}
onEndedPlayer2={() => {}}
onErrorPause={() => {}}