Skip to content

vmitsaras/js-flex-embed

Repository files navigation

js-flex-embed

jQuery Plugin for responsive intrinsic ratio embeds

##Usage

 <iframe class="js-flex-embed" width="560" height="315" src="..."></iframe>
 <iframe class="js-flex-embed" data-width="560" data-height="315" src="..."></iframe>
 <iframe class="js-flex-embed" data-aspect-ratio=".4" width="560" height="315" src="..."></iframe>
 <img class="js-flex-embed" data-width="560" data-height="315" src="...">
    // Enhance
    $( document ).trigger( "enhance" );

##Package managers

  • Install with Bower: bower install js-flex-embed --save
  • Install with npm: npm install js-flex-embed

Release History

  • v1.0.0: Initial release.

About

jQuery Plugin for responsive intrinsic ratio video and image embeds

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published