media.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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>Auto-playing audio</h2>
  25. <audio src="assets/beeping.wav" data-autoplay></audio>
  26. </section>
  27. <section>
  28. <h2>Audio with controls</h2>
  29. <audio src="assets/beeping.wav" controls></audio>
  30. </section>
  31. </div>
  32. </div>
  33. <script src="../dist/reveal.js"></script>
  34. <script>
  35. Reveal.initialize({
  36. transition: 'linear'
  37. });
  38. </script>
  39. </body>
  40. </html>