Flexy
an iframe responsive very light jQuery plugin
Demo page
Package manager
//bowerbower install --save yohohoflexy
//npmnpm install yohohoflexy
Install
<!-- In your <body> HTML tag --> <!-- iframe --> <!-- embed --> <!-- video --> Sorry, your browser doesn't support embedded videos, but you can download it and watch it with your favorite video player! <!-- video --> Sorry, your browser doesn't support embedded videos <!-- object -->
//in your main JS file with default options;
//in your main JS file with custom options;
Settings
Option | Type | Default | Description |
---|---|---|---|
addcss | boolean | true | Enables default flexy inline CSS applied to wrapper and video element |
classname | string | 'flexy-wrapper' | CSS class applied to wrapper |
widescreen | boolean | false | Enables wide screen format (16/9). Made especially for Vimeo embed |
Dependencies
jQuery latest version
Authors and Copyright
Made with ♥ by Achraf Chouk
Please, read LICENSE for more details.