1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-09-03 10:02:58 +02:00

Updated Plugin docs (markdown)

Antonio Laguna
2017-04-19 20:23:11 +02:00
parent efbdfa51a0
commit c5efae5bd0

@@ -43,3 +43,17 @@ There's a handful of keys that can be used to achieve navigation within WebSlide
* `Space`: Go to the next slide.
* `Home`: Go to the first slide.
* `End`: Go to the last slide.
## Video
Any videos that have the `autoplay` attribute will get it removed and it will autoplay whenever you enter into the Slide.
Example:
```markup
<video autoplay loop poster="https://webslides.tv/static/images/peggy.jpg">
<source src="https://webslides.tv/static/videos/peggy.mp4" type="video/mp4">
</video>
```
The video will play when you enter on that Slide and it will automatically pause whenever you exit from the slide.