I am using an <object>
tag to play a Flash video (.swf
) on a website. The markup looks like the following:
<object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0"
...>
<param name="movie" value="url to video" />
<param name="bgcolor" value="#000000" />
...
<embed src="url to video" type="application/x-shockwave-flash" ... />
</object>
Is there a client-side event or a way to detect via JavaScript when the Flash video has completely loaded and is ready to play without buffering or interruption开发者_如何转开发s?
In short, I want to hide this <object>
tag initially and then show it once the video is completely loaded and ready to play.
Thanks
精彩评论