this plugin resizes any number of videos nested inside a selector
simple resizing the video to the surrounding elements width
$('#section1').adjustVideo(); // simple resizing to the surrounding elements width
resizing the video to a particular size
$('#section2').adjustVideo({
'center' : true, // centering the video
'width' : '450' // resizing video to a specific width ( keeping the aspect ratio )
});
resizing the video to a particular size disregarding the aspect ratio
$('#section2').adjustVideo({
'width' : '400',
'height' : '400'
});
adjustVideo is licensed under the terms of the MIT License, see the included MIT-LICENSE file.