diff options
author | Hakim El Hattab | 2013-04-27 18:42:15 -0400 |
---|---|---|
committer | Hakim El Hattab | 2013-04-27 18:42:15 -0400 |
commit | caeeacbe4a61bedb8bd91491878afe7e1bd6e6f0 (patch) | |
tree | b912f8ab940a636b53e80e9f1798d558254a4525 | |
parent | 06d0579610b6e041f68842ece1c481476df52f6d (diff) |
update readme to cover #388
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -364,6 +364,16 @@ Reveal.toggleOverview(); Just press »F« on your keyboard to show your presentation in fullscreen mode. Press the »ESC« key to exit fullscreen mode. +### Embedded media +Embedded HTML5 video/audio and YouTube iframes are automatically paused when your navigate away from a slide. This can be disabled by decorating your element with a `data-ignore` attribute. + +Add `data-autoplay` to your media element if you want it to automatically start playing when the slide is shown: + +```html +<video src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" data-autoplay></video> +``` + + ## PDF Export Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome). |