All Projects → hemanth → video-in-view

hemanth / video-in-view

Licence: MIT license
Play/Pause video when in/out of the view.

Programming Languages

javascript
184084 projects - #8 most used programming language

video-in-view

Play/Pause video when in/out of the view.

DEMO

Checkout the DEMO!

Install

$ npm install --save video-in-view

Usage

const videoInView = require('video-in-view');

// Plays and pauses when the video.
videoInView('.selector', {loop: true})

// Operators on all the video tags.
videoInView({loop:true, mute:true})

Options

{
  mute,
  loop
}

License

MIT © Hemanth.HM

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].