Skip to content

n0mad01/adjustVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adjustVideo

a jquery plugin for adjusting video iframe sizes

this plugin resizes any number of videos nested inside a selector

live examples:

videoplugin.soluch.at

usage:

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'
});
Copyright and License

adjustVideo is licensed under the terms of the MIT License, see the included MIT-LICENSE file.

About

a jquery plugin for adjusting video iframes

Resources

License

Stars

Watchers

Forks

Packages

No packages published