Very easy to use & integrate in own app :
$('video_wrapper').jQvid(options);
/*
options = {
optionName : optionValue,
// and so on
}
*/
The plugin dynamically creates the video element and appends it into the selected target (wrapper).
It the targeted <select> element is being replaced by a custom div-based html markup that shares the original element's attributes (class,id...).
The newly returned element behaves the same (from a jquery api point of view) : you can still access it's value through jquery's .val method.
The jSelectBox api is binded to every element on wich the plugin is called. It can be accessed through jquery's .data method :
var api = $('video_wrapper').data('jqvidApi');
This api reveals some usefull methods that ease the video manipulation:
developed by