[bugfix]: only restart time when now for web

This commit is contained in:
Kendall Garner 2024-05-23 20:41:01 -07:00
parent 79384fa4ed
commit 67deb3e3d8
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -186,7 +186,7 @@ export const useHandlePlayQueueAdd = () => {
? PlayersRef.current?.player1
: PlayersRef.current?.player2;
const underlying = player?.getInternalPlayer();
if (underlying) {
if (underlying && playType === Play.NOW) {
underlying.currentTime = 0;
}
}