play_circle
Videos Utilities
Youtube LazyLoad/Single Play
Live Preview
Youtube LazyLoad and Single Play

Youtube LazyLoad and Single Play

Simple script that allows you to load the youtube video only when the video is visible and automatically stop multiple videos inside the Gallery to play. Since the video is lazyloaded you have only to grab the video ID and change it in the attribute:

Name
data-yt-id
Value
l420X9T1a6E
Vimeo LazyLoad/Single Play
Live Preview
Vimeo LazyLoad and Single Play

Vimeo LazyLoad and Single Play

Simple script that allows you to load a vimeo video only when the video is visible and automatically stop multiple videos inside the Gallery to play. Since the video is lazyloaded you have only to grab the video ID and change it in the attribute:

Name
data-vimeo-id
Value
l420X9T1a6E