New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Quicktime and callbacks in javascript


Post Reply New Thread Subscribe

 
Thread Tools
ivy2
Guest
 
Posts: n/a

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

Post Reply New Thread Subscribe


« Is it possible to setup php and databases on pc and mac? | PHP+MySQL Help. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 03:34 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?