View Full Version : Modify bodyLoaded variable for HTML 5 video player

05-18-2010, 08:47 PM
Hello all,
I'm trying out Steve Heffernan's script for creating an HTML 5 video player, which is great. However, in order for the player to load, the body tag needs to be written as such:

<body id="body" onload="bodyLoaded();">

This works fine, except that I'm working on a site for which I am not allowed to edit the body tag (it's locked). Is there a work-around. The sourcecode for the entire javascript and css can be found here: