• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

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
0
rodmjay
Asked:
rodmjay
1 Solution
 
cstsangCommented:
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now