slight readme tweak

This commit is contained in:
Hakim El Hattab 2013-04-27 18:43:14 -04:00
parent caeeacbe4a
commit 78c4bf420e
1 changed files with 2 additions and 2 deletions

View File

@ -365,12 +365,12 @@ Just press »F« on your keyboard to show your presentation in fullscreen mode.
### Embedded media ### 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. 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: Add `data-autoplay` to your media element if you want it to automatically start playing when the slide is shown:
```html ```html
<video src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" data-autoplay></video> <video data-autoplay src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>
``` ```