Skip to content
Snippets Groups Projects
Commit 78c4bf42 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

slight readme tweak

parent caeeacbe
No related branches found
No related tags found
No related merge requests found
...@@ -365,12 +365,12 @@ Just press »F« on your keyboard to show your presentation in fullscreen mode. ...@@ -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>
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment