[bugfix]: only restart time when now for web
This commit is contained in:
parent
79384fa4ed
commit
67deb3e3d8
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ export const useHandlePlayQueueAdd = () => {
|
||||||
? PlayersRef.current?.player1
|
? PlayersRef.current?.player1
|
||||||
: PlayersRef.current?.player2;
|
: PlayersRef.current?.player2;
|
||||||
const underlying = player?.getInternalPlayer();
|
const underlying = player?.getInternalPlayer();
|
||||||
if (underlying) {
|
if (underlying && playType === Play.NOW) {
|
||||||
underlying.currentTime = 0;
|
underlying.currentTime = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue