mirror of
https://github.com/webslides/WebSlides.git
synced 2025-09-03 10:02:58 +02:00
Updated Plugin docs (markdown)
@@ -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.
|
Reference in New Issue
Block a user