Video

Inline Video

Autoplay

Autoplay Inview

Autoplay Hover

Inline YouTube

Autoplay

Autoplay Inview

Inline Vimeo

Autoplay

Autoplay Inview

On Click

Video (Poster)

Video

Iframe (YouTube)

JavaScript Options

Option Value Default Description
autoplay Boolean, String true Disable or enable autoplay (`false`, `true`). Videos will stop when hidden and continue playing when leaving the viewport. Use `inview` to also stop the video when leaving the viewport. Use `hover` to play the video only on hover. Note: Hover does not work with iframes.
restart Boolean false Video will seek to the beginning whenever video element's autoplay option pauses the video.
hover-target CSS Selector self The element that functions as hover toggle when autoplay option is set to `hover`.