diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-05-26 10:56:02 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-05-26 10:56:02 +0200 |
commit | b1e5db0ec9647532c4a2e9f05101329c3129eb97 (patch) | |
tree | 906a31f0127c0e1b351cfdcc7bcc309da176ba28 /examples | |
parent | b7487b8b4f4b9f6a230cdfc3de327473c5e900b8 (diff) | |
download | fosdem-2021-minimalism-presentation-b1e5db0ec9647532c4a2e9f05101329c3129eb97.tar fosdem-2021-minimalism-presentation-b1e5db0ec9647532c4a2e9f05101329c3129eb97.tar.gz |
data-autoslide attribute takes precedence over video duration
Diffstat (limited to 'examples')
-rw-r--r-- | examples/media.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/media.html b/examples/media.html index fb3a6eb..4a1fab5 100644 --- a/examples/media.html +++ b/examples/media.html @@ -32,6 +32,11 @@ </section> <section> + <h2>Video</h2> + <video src="https://static.slid.es/site/homepage/v1/homepage-video-editor.mp4" data-autoplay></video> + </section> + + <section> <h2>Auto-playing audio</h2> <audio src="assets/beeping.wav" data-autoplay></audio> </section> @@ -59,9 +64,7 @@ <script src="../dist/reveal.js"></script> <script> - Reveal.initialize({ - transition: 'linear' - }); + Reveal.initialize(); </script> </body> |