1.0.0 • Published 6 years ago

lazyvideo v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

lazyVideo

lazyVideo

Installation

  1. run npm install lazyvideo
  2. add import LazyVideo from "./node_modules/lazyvideo/index.js" in the top of your document
  3. Where you want to use add const lazyVideo = new LazyVideo();
  4. In your CSS add :root{ --lazyVideo: 1 } in any situation that you'd like be playing video.

Developing

npm run serve will run a server at localhost:1222