Quicktime and callbacks in javascript

I

ivy2

Guest
Hi

I know WMP has a callback functionality (see below).
The question is : is there a similar callback (event-listener)
functionality I can use in javascript for an embedded QT movie?

I just can't find any documentation on this - maybe Apple doesn't call them callback functions....?

Ciao

WMP Javascript callback functionality

Eg

<script FOR="MyWMPlayer" EVENT="PlayStateChange(state)">
switch (state){
case 1:
alert("Stopped");
break;

case 2:
alert("Paused");
break;

case 3:
alert("Playing");
break;

// etc for other cases:
// 4=Scan Forward, 5=Scan Back, 6=Buffering, 7=Waiting
// 8=Media Ended, 9=Transitioning, 10=Ready,
11=Reconnecting
}
</script>
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top