Skip to content

Commit aec0983

Browse files
committed
additional webgp video replaying fix
1 parent f291232 commit aec0983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svelte/virtual/Embed.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
164164
const setWebGLVideoPlaying = (playing:boolean) : void => {
165165
if(!_vid) return;
166-
if(!isMounted) paused = !(playing = false);
166+
if(!isMounted) playing = false;
167167
_vid.dataset.playing = playing ? '1' : undefined;
168168
wasm.e._setImageVideoPlaying(image.ptr, playing);
169169
if(embed.hideWhenPaused) wasm.fadeImage(image.ptr, playing ? 1 : 0);

0 commit comments

Comments
 (0)