diff --git a/README.md b/README.md index d88625b9f5678404078d2cab4645a2ce82ab53fa..4ce6a942646be80d57b1faec1a4b40710e734d26 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> ```