From 543b6126b32bc27dd6243e9ea7761dd19d9c3a86 Mon Sep 17 00:00:00 2001 From: harshbaz Date: Fri, 24 Nov 2023 16:11:27 +0530 Subject: [PATCH] Fix view count --- packages/experiments/src/components/video/VideoPlayer.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/experiments/src/components/video/VideoPlayer.svelte b/packages/experiments/src/components/video/VideoPlayer.svelte index a79a0f644..4d7cf201b 100644 --- a/packages/experiments/src/components/video/VideoPlayer.svelte +++ b/packages/experiments/src/components/video/VideoPlayer.svelte @@ -223,6 +223,8 @@ onDestroy(() => { inView && play() }} bind:this={videoEl} + bind:duration + bind:currentTime loop data-index={index} muted={$playerState.muted}