1.0.0 • Published 7 years ago
lazyvideo v1.0.0
lazyVideo
lazyVideo
Installation
- run
npm install lazyvideo - add
import LazyVideo from "./node_modules/lazyvideo/index.js"in the top of your document - Where you want to use add
const lazyVideo = new LazyVideo(); - 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
1.0.0
7 years ago