Name |
AMP Advanced |
Behaviour, common* attributes (*depend components), can be set by default in backend and applied for all content loaded by the plugin or in front end with shordcode &attribute=value |
autoplay : If this attribute is present, and the browser supports autoplay, the video or audio will be automatically played as soon as it becomes visible. There are some conditions that the component needs to meet to be played, which are outlined in the Video in AMP spec. |
Audio, JWPlayer, Video, Vimeo, Youtube |
dock :
If this attribute is present and the video is playing manually, the video will be "docked" and float on a corner or a custom position when the user scrolls out of the video component's visual area. If the user scrolls back, the video reverts to its original static position.
- The video can be docked to a default corner or to a custom fixed position.
- The video can be dragged and repositioned by the user on a different corner.
- The video can be flicked to be dismissed from its docked position.
- Multiple videos on the same page can be docked, but only one at a time will be docked and fixed.
|
JWPlayer, Video, Youtube |
loop : If present, the video or audio will automatically loop back to the start upon reaching the end. |
Audio, Video, Youtube |
noloading : If present, the video or audio will automatically loop back to the start upon reaching the end. |
Audio, Facebook, Video |
|