From 8f540cf4aa822ae6fa462fad60288ce8b2d1a50d Mon Sep 17 00:00:00 2001 From: Antonio Laguna Date: Wed, 19 Apr 2017 20:29:17 +0200 Subject: [PATCH] Updated Plugin docs (markdown) --- Plugin-docs.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Plugin-docs.md b/Plugin-docs.md index 8252a11..51dd2d5 100644 --- a/Plugin-docs.md +++ b/Plugin-docs.md @@ -55,5 +55,20 @@ Example: ``` +The video will play when you enter on that Slide and it will automatically pause whenever you exit from the slide. -The video will play when you enter on that Slide and it will automatically pause whenever you exit from the slide. \ No newline at end of file +## YouTube + +YouTube unfortunately can't be handled as normal videos since we need the API to make them work, so we added a special _syntax_ so you can control YouTube videos automatically with WebSlides. + +```html +
+
+``` + +Those are all the options that you can pass. We're saying there, we want the video with _id_ `SomZsr1J7ao` to _autoplay_ when the Slide gets active, to _loop_ forever, to be _mute_d and to have _no-controls_. \ No newline at end of file