I fucks with it πŸ‘Œ #magnacartaholygrail #jayz #summer2013 #day35

I fucks with it πŸ‘Œ #magnacartaholygrail #jayz #summer2013 #day35

  July 04, 2013 at 06:01pm
  1. xalinacao posted this
$(function () { $(".video_box").each(function () { var columnWidth = 700; // width of your content column var defaultVideoWidth = 500; // theme tag width var increaseRatio = columnWidth / defaultVideoWidth; var iframe = $("iframe", this); if (iframe.length > 0) { var currHeight = iframe.height(); var newHeight = currHeight * increaseRatio; iframe.height(newHeight).width(columnWidth); } else { var object = $("object", this); var embed = $("embed", object); var currHeight = object.attr('height'); var newHeight = currHeight * increaseRatio; object.width(columnWidth).attr('height', newHeight); embed.width(columnWidth).attr('height', newHeight); }; }); });