Skip to content

Instantly share code, notes, and snippets.

@woeldiche
Created April 14, 2013 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woeldiche/5382555 to your computer and use it in GitHub Desktop.
Save woeldiche/5382555 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
(function ($) {
"use strict";
$(document).ready(function() {
Modernizr.load([
{
load : "/sites/all/themes/cowiscope/script/libs/jquery.fitvids.js",
callback : function() {
$('.fluid-video-wrapper').fitVids();
}
}
]);
});
})(jQuery);
</script>
<div class="fluid-video-wrapper"><iframe id="player1" src="http://player.vimeo.com/video/62342934?title=0&byline=0&portrait=0&autoplay=1&loop=1" width="540" height="484" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen style="max-width: 100%;"></iframe></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment