Fix: video playback pauses on end of song

This commit is contained in:
Dejvino 2026-01-03 21:14:18 +00:00
parent 0dc61d12d9
commit 48fe11bf3f

View File

@ -11,6 +11,12 @@ sceneFeatureManager.register({
if (state.videoUrls && state.videoUrls.length > 0) {
startVideoPlayback();
}
},
onPartyEnd: () => {
if (state.videoElement && !state.videoElement.paused) {
state.videoElement.pause();
updatePlayPauseButton();
}
}
});