TubePlayer (Scripts) Publisher's description
from Nirvana Tikku
HTML5 goodness! Last year, YouTube introduced an HTML5 based implementation of their embedded player.
HTML5 goodness! Last year, YouTube introduced an HTML5 based implementation of their embedded player. With the proliferation of mobile devices, the increasing popularity of Apple's iPad, and Apple's stringent requirements around the use of Flash, access to control the HTML5 player has been in great demand. This implementation was first provided for simple embeds and offered as a trial-service on YouTube itself.
So, what's so great about the YouTube HTML5 player, anyway? Well, basically iPad/iPhone support, enhancemened performance, optimized resource usage, conforming to standards and end user experience. Check this great article on the advantages of the standards based video implementation in HTML5. While I am excited and enthused about providing a plugin that provides iOS (iPad/iPhone) support, i'm disappointed to have to tell you that with the player still in labs mode the player still has some kinks. In addition to the occasional bug, mobile development adds additional complexities. An example is with the potential fees involved in streaming video, Apple dictates that the user must initiate playback, essentially removing possibilities for auto-playing videos in a playlists. For more information, see this forum thread.
The updated TubePlayer plugin takes advantage of HTML5 where possible. A new attribute iframed can be set to true or false depending on whether the iframe player should be prioritized. SWFObject is not strictly a requirement anymore, however TubePlayer has been created such that if the browser does not support HTML5 video, the flash player will be used instead. Anyone upgrading from previous versions of the TubePlayer plugin, all you have to do is replace your jQuery.tubeplayer.js file with the updated code. There is no need to worry about your implementation, as everything is backwards compatible.
В· jQuery 1.3.2 or higher
В· SWFObject 2.2 or higher
Program Release Status: Major Update
Program Install Support: Install and Uninstall