You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.7KB

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>reveal.js - Video, Audio and Iframes</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  7. <link rel="stylesheet" href="../dist/reveal.css">
  8. <link rel="stylesheet" href="../dist/theme/white.css" id="theme">
  9. </head>
  10. <body>
  11. <div class="reveal">
  12. <div class="slides">
  13. <section>
  14. <h2>Examples of embedded Video, Audio and Iframes</h2>
  15. </section>
  16. <section>
  17. <h2>Iframe</h2>
  18. <iframe data-autoplay width="700" height="540" src="https://slides.com/news/auto-animate/embed" frameborder="0"></iframe>
  19. </section>
  20. <section data-background-iframe="https://www.youtube.com/embed/h1_nyI3z8gI" data-background-interactive>
  21. <h2 style="color: #fff;">Iframe Background</h2>
  22. </section>
  23. <section>
  24. <h2>Video</h2>
  25. <video src="https://static.slid.es/site/homepage/v1/homepage-video-editor.mp4" data-autoplay></video>
  26. </section>
  27. <section>
  28. <h2>Auto-playing audio</h2>
  29. <audio src="assets/beeping.wav" data-autoplay></audio>
  30. </section>
  31. <section>
  32. <h2>Audio inside slide fragments</h2>
  33. <div class="fragment">
  34. Beep 1
  35. <audio src="assets/beeping.wav" data-autoplay></audio>
  36. </div>
  37. <div class="fragment">
  38. Beep 2
  39. <audio src="assets/beeping.wav" data-autoplay></audio>
  40. </div>
  41. </section>
  42. <section>
  43. <h2>Audio with controls</h2>
  44. <audio src="assets/beeping.wav" controls></audio>
  45. </section>
  46. </div>
  47. </div>
  48. <script src="../dist/reveal.js"></script>
  49. <script>
  50. Reveal.initialize();
  51. </script>
  52. </body>
  53. </html>