fazich
02-13-2011, 01:59 AM
I am playing mp4 video on my webpage using following code:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="760"HEIGHT="354" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="my.mp4">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="true">
<EMBED SRC="my.mp4" WIDTH="760" HEIGHT="354" AUTOPLAY="true" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
I want to add my msg at the end of this video.There can b many option,im thinking abt triggering javascript function when movie will end and displaying
a div having my msg in that.Now there two things which im not sure
How i can call javascript function at the end of file ?
And when i display div,will it appear on top of player or it will get invisible behind the player.
thanks for any help.
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="760"HEIGHT="354" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="my.mp4">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM name="CONTROLLER" VALUE="true">
<EMBED SRC="my.mp4" WIDTH="760" HEIGHT="354" AUTOPLAY="true" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
I want to add my msg at the end of this video.There can b many option,im thinking abt triggering javascript function when movie will end and displaying
a div having my msg in that.Now there two things which im not sure
How i can call javascript function at the end of file ?
And when i display div,will it appear on top of player or it will get invisible behind the player.
thanks for any help.