Skip to content

Commit 9b274b2

Browse files
committed
fix: paused player when switching since bugs in stopAllplayer are fixed
1 parent 90c962f commit 9b274b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

example/src/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ const RenderListItem = React.memo(
104104

105105
// Start player when it is a different one!
106106
if (currentPlayingRef?.current?.playerKey !== ref?.current?.playerKey) {
107-
// Because of a bug with the stopAllPlayer, cannot have multiple payers in paused state
108-
await currentPlayingRef?.current?.stopPlayer();
109107
await startNewPlayer();
110108
}
111109
}

0 commit comments

Comments
 (0)