File tree 2 files changed +17
-6
lines changed
frontend/src/routes/(site)
2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 13
13
</svelte:head >
14
14
15
15
<div class =" intro" >
16
- <!-- svelte-ignore a11y_media_has_caption -->
17
- <video src =" {base }/img/docs/WasmBots_Proof-of-Concept.mp4" controls poster =" {base }/img/docs/intro-video-poster.jpg" ></video >
16
+
17
+ <iframe
18
+ src =" https://www.youtube-nocookie.com/embed/DGkkTYJrflI?si=5_shrFAmXkVYP12q& modestbranding=1"
19
+ title =" YouTube video player"
20
+ frameborder =" 0"
21
+ allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
22
+ referrerpolicy =" strict-origin-when-cross-origin"
23
+ allowfullscreen >
24
+ </iframe >
18
25
19
26
<p >
20
27
Hello! <a href =" https://shaneliesegang.com" target =" _blank" >I’m Shane</a >, and
21
- this is WasmBots, a project for hosting WebAssembly modules that play a
22
- light dungeon exploration game.
28
+ this is WasmBots, an in-progress project for hosting WebAssembly modules that
29
+ play a light dungeon exploration game.
23
30
</p >
24
31
25
32
<p >
70
77
margin-top : 50px ;
71
78
}
72
79
73
- .intro video {
74
- max-width : 100% ;
80
+ .intro iframe {
81
+ width : 100% ;
82
+ aspect-ratio : 16 / 9 ;
83
+ margin-left : auto ;
84
+ margin-right : auto ;
85
+ display : block ;
75
86
}
76
87
77
88
.standaloneWithControls {
You can’t perform that action at this time.
0 commit comments