slight readme tweak
This commit is contained in:
parent
caeeacbe4a
commit
78c4bf420e
@ -365,12 +365,12 @@ Just press »F« on your keyboard to show your presentation in 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.
|
||||
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>
|
||||
<video data-autoplay src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user