This is a fantastic HTML5 video player based on jQuery JavaScript Library. This script doesn't require any extra Browser Plugins to display HTML5 videos. It features a beautiful and unified UI on all desktop browsers and supports Fullscreen in Window Mode.
jQuery("#video_player").H5Video({
source : {
"video/ogg" : "videos/mymovie.ogg",
"video/mp4" : "videos/mymovie.m4v",
"video/webm" : "videos/mymovie.webm"
},
animationDuration : 350,
loop : false,
preload : true,
autoPlay : false,
poster : "images/poster.jpg",
supportMessage : "This browser doesn't support HTML5 videos.",
events : {
pause : function()
{
writeMessage("Paused video");
},
play : function()
{
writeMessage("Playing video");
},
end : function()
{
writeMessage("End of video");
}
}
});