Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Quicktime and callbacks in javascript
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ivy2" data-source="post: 43346"><p>Hi</p><p></p><p>I know WMP has a callback functionality (see below).</p><p>The question is : is there a similar callback (event-listener)</p><p>functionality I can use in javascript for an embedded QT movie?</p><p></p><p>I just can't find any documentation on this - maybe Apple doesn't call them callback functions....?</p><p></p><p>Ciao</p><p></p><p>WMP Javascript callback functionality</p><p></p><p>Eg</p><p></p><p><script FOR="MyWMPlayer" EVENT="PlayStateChange(state)"></p><p> switch (state){</p><p> case 1:</p><p> alert("Stopped");</p><p> break;</p><p></p><p> case 2:</p><p> alert("Paused");</p><p> break;</p><p></p><p> case 3:</p><p> alert("Playing");</p><p> break;</p><p></p><p> // etc for other cases:</p><p> // 4=Scan Forward, 5=Scan Back, 6=Buffering, 7=Waiting</p><p> // 8=Media Ended, 9=Transitioning, 10=Ready,</p><p>11=Reconnecting</p><p> }</p><p></script></p></blockquote><p></p>
[QUOTE="ivy2, post: 43346"] 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]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Quicktime and callbacks in javascript
Top