Skip to content

Instantly share code, notes, and snippets.

@asha23
Forked from grappler/video.js-FitVids.js
Last active August 29, 2015 14:22
Show Gist options
  • Save asha23/fe0eb813571b046af9d3 to your computer and use it in GitHub Desktop.
Save asha23/fe0eb813571b046af9d3 to your computer and use it in GitHub Desktop.
// FitVids
jQuery(document).ready(function(){
// Target your #container, #wrapper etc.
jQuery("#wrapper").fitVids({ customSelector: "div[class^='video-js-wrapper']"});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment