In function playVideo2(), I have tried PHP there. This is not working while I have call this function from html. My html code:

<bodyönload="playVideo();
playVideo2();"><pid="time"></p><videoid="v0"controlstabindex="0"autobufferpreload><sourcetype="video/webm; codecs="vp8,vorbis""src="videos/Wildlife.webm"></source><p>Sorry, your browser does not support the <video> element.</p></video>