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>
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>