Browse Source

slight readme tweak

embed
Hakim El Hattab 12 years ago
parent
commit
78c4bf420e
  1. 4
      README.md

4
README.md

@ -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>
``` ```

Loading…
Cancel
Save