Automatically resize YouTube and Vimeo embedded videos.

I’ve come into this problem a few times while building out sites so I’ve built a quick function to automatically calculate and resize (height) videos on your blog/website.  This is especially helpful on a site chalk full of videos like  Without further ado: function resize_video() { // this function is helpful when using a […]