mirror of
https://github.com/nature-of-code/noc-book-2
synced 2024-11-17 07:49:05 +01:00
fix: video preload
This commit is contained in:
parent
af9c05c8b3
commit
79765edee9
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export default function IndexPage() {
|
||||||
width={1600}
|
width={1600}
|
||||||
alt="an open book with a coding example titled “Including Friction,” featuring code in JavaScript (p5.js) and an screenshot of the sketch in motion."
|
alt="an open book with a coding example titled “Including Friction,” featuring code in JavaScript (p5.js) and an screenshot of the sketch in motion."
|
||||||
/>
|
/>
|
||||||
<video playsInline muted preload="none" className="m-0 aspect-video">
|
<video playsInline muted className="m-0 aspect-video">
|
||||||
<source src="/flipping.mp4" type="video/mp4" />
|
<source src="/flipping.mp4" type="video/mp4" />
|
||||||
</video>
|
</video>
|
||||||
</Carousel>
|
</Carousel>
|
||||||
|
|
Loading…
Reference in a new issue