in-view
video-Play/Pause video when in/out of the view.
DEMO
Checkout the DEMO!
Install
$ npm install --save video-in-view
Usage
const videoInView = ; // Plays and pauses when the video. // Operators on all the video tags.
Options
{
mute,
loop
}
License
MIT © Hemanth.HM