Created
September 20, 2011 15:02
-
-
Save andershaig/1229340 to your computer and use it in GitHub Desktop.
Flexible Width Video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="path/to/jquery.fitvids.js"></script> | |
<script> | |
$(document).ready(function(){ | |
// Target your .container, .wrapper, .post, etc. | |
$(".video-container").fitVids(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment