1.0.2 • Published 9 years ago

liquid-video v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

Liquid video

Super easy script to make your iframe or embed responsive / liquid. To use it grab a copy of minified file and instantiate a new LiqudVideo object passing your query as an argument. It doesn't require any other dependencies like jQuery and it super lightweight - only 417b minified and around 1kb unminified.

Manually inject to source code of your project

<script src="js/liquid-video.min.js"></script>
<script>
var lv = new LiquidVideo(document.querySelectorAll('.post iframe'));
</script>

Use with npm

npm i -S liquid-video
npm install --save liquid-video
var LiquidVideo = require('liquid-video');
var lv = new LiquidVideo(document.querySelectorAll('.post iframe'));

Demo

Example on Codepen

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago