Skip to content

Commit

Permalink
fix: use base path
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed Aug 4, 2024
1 parent 7b5ab94 commit 618063b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/sections/video.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<script>
import { base } from "$app/paths";
</script>

<div class="section">
<div class="width">
<div class="section-header">
Expand All @@ -14,8 +18,8 @@
</div>

<video controls class="video">
<source src="/papillon_v6_intl_h264.mp4" type="video/mp4">
<track kind="captions" src="/papillon_v6_intl.vtt" srclang="fr" label="Français" default>
<source src="{base}/papillon_v6_intl_h264.mp4" type="video/mp4">
<track kind="captions" src="{base}/papillon_v6_intl.vtt" srclang="fr" label="Français" default>
Votre navigateur ne supporte pas la vidéo.
</video>
</div>
Expand Down

0 comments on commit 618063b

Please sign in to comment.