Skip to content

Commit 3fcb8de

Browse files
committed
Update video demo
Minor tweaks to copy and comments.
1 parent 9691681 commit 3fcb8de

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

demo/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,16 @@ <h2><code>window.obs</code></h2>
277277

278278
<pre id=obs aria-live=polite></pre>
279279

280+
<h2><code>&lt;video&gt;</code> Demo</h2>
281+
282+
<p>If your connection allows it, you should see a small video below. If not,
283+
you will see a static <code>&lt;img&gt;</code>—what can you see?</p>
284+
285+
<!--
286+
- This `preload` is largely pointless as the image will be below the fold.
287+
- I’m adding for thoroughness as script-injected images are hidden from the
288+
- preload scanner—this reintroduces them.
289+
-->
280290
<link rel=preload as=image href=./assets/poster.png>
281291

282292
<div class=c-video id=jsVideo></div>

0 commit comments

Comments
 (0)