All Projects → pawelgrzybek → Liquid Video

pawelgrzybek / Liquid Video

Programming Languages

javascript
184084 projects - #8 most used programming language

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 417 Bytes minified and around 998 Bytes 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

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].