fix video src paths

This commit is contained in:
Sudev Kiyada 2025-06-02 14:41:35 +05:30
parent 20510b1788
commit d558b656dd
Failed to extract signature
2 changed files with 5 additions and 5 deletions

View file

@ -134,17 +134,17 @@
{#if width < 600}
<ScrollyVideo
{...args}
src={'src/components/ScrollyVideo/videos/v_9_16.mp4'}
src={'./src/components/ScrollyVideo/videos/v_9_16.mp4'}
/>
{:else if width < 1200}
<ScrollyVideo
{...args}
src={'src/components/ScrollyVideo/videos/v_1_1.mp4'}
src={'./src/components/ScrollyVideo/videos/v_1_1.mp4'}
/>
{:else}
<ScrollyVideo
{...args}
src={'src/components/ScrollyVideo/videos/v_16_9.mp4'}
src={'./src/components/ScrollyVideo/videos/v_16_9.mp4'}
/>
{/if}
</Story>
@ -152,7 +152,7 @@
<Story name="Autoplay" {args}>
<ScrollyVideo
{...args}
src={'src/components/ScrollyVideo/videos/goldengate.mp4'}
src={'./src/components/ScrollyVideo/videos/goldengate.mp4'}
autoplay={true}
/>
</Story>

View file

@ -43,7 +43,7 @@
</div>
<ScrollyVideo
src={`src/components/ScrollyVideo/videos/goldengate.mp4`}
src={`../videos/goldengate.mp4`}
height="100svh"
trackScroll={false}
videoPercentage={progress}