From 78c4bf420e6b2b441d7072e8e612d15691278749 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab <hakim.elhattab@gmail.com> Date: Sat, 27 Apr 2013 18:43:14 -0400 Subject: [PATCH] slight readme tweak --- README.md | 4 ++-- 1 file 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> ``` -- GitLab