Skip to content

Commit

Permalink
feat: add preload attr
Browse files Browse the repository at this point in the history
  • Loading branch information
Immo-Be committed Jul 25, 2024
1 parent 7560b07 commit 36e5ec4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ import burgerMenu from '../assets/burgermenu.svg?raw';

<Layout title="Welcome to Astro.">
<main>
<video height="240" autoplay muted>
<video id="myVideo" muted autoplay preload="none">
<source src={introVideoMp4} type="video/mp4" />
Your browser does not support the video tag.
</video>
<video height="240" autoplay muted>
<video height="240" autoplay muted preload="none">
<source src={introVideo100} type="video/mp4" />
Your browser does not support the video tag.
</video>
<video height="240" autoplay muted>
<video height="240" autoplay muted preload="none">
<source src={introVideoMidq} type="video/mp4" />
Your browser does not support the video tag.
</video>
<video height="240" autoplay muted>
<video height="240" autoplay muted preload="none">
<source src={introVideoLowq} type="video/mp4" />
Your browser does not support the video tag.
</video>
Expand Down

0 comments on commit 36e5ec4

Please sign in to comment.