Run script when .mov file is completed

IS there a way to capture the event of a movie finished?  I would like to open a popup when the movie is completed.  It is a .mov file.  Thanks
LVL 8
rodmjayAsked:
Who is Participating?
 
KNVB HKSITOCommented:
Try this one:

<html>
<body>
<embed id="player" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" autostart="true" transparentstart="1" SHOWSTATUSBAR="1" loop="0" controller="true" src="youMovie.mov" stretchToFit="false" ></embed>

<SCRIPT FOR="mediaplayer1"
        EVENT="EndOfStream(lResult)"
        LANGUAGE="JScript">
    alert("hello");
</SCRIPT>


</body>
</html>
0
 
rodmjayAuthor Commented:
Looks great, thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.