aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-04-27 18:43:14 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-04-27 18:43:14 -0400
commit78c4bf420e6b2b441d7072e8e612d15691278749 (patch)
tree1c664f766d231e55221b696047a0f62017f590d7
parentcaeeacbe4a61bedb8bd91491878afe7e1bd6e6f0 (diff)
downloadfosdem-2018-presentation-78c4bf420e6b2b441d7072e8e612d15691278749.tar
fosdem-2018-presentation-78c4bf420e6b2b441d7072e8e612d15691278749.tar.gz
slight readme tweak
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d88625b..4ce6a94 100644
--- a/README.md
+++ b/README.md
@@ -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>
```