On the page that describe QuickTime plugin javascript DOM Events :
http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_JavaScript/bQTScripting_JavaScri_Document/chapter_1000_section_6.html#/
/apple_ref/doc/uid/TP40001526-CH001-SW6
There is a full example (the html page with the script ... the lot !)
that should allow us to register events.
I copied and pasted the example that described a full html page
(Listing 1-9). I just changed the URL of the video in order to have it
point towards a real movie (and the path to a freshly downloaded
AC_QuickTime.js). The example works well ... but only for Firefox
(Mac/PC).
It doesn't work neither on Safari (Mac/PC) nor on IE.
(The video plays, the stop/play javascript links work, but the events
are not registered)
Here is the page :
http://www.opsomai.eu/data/oraoweb/dev2/test3.html
My guess (resulting from some tests and lots of alert() here and
there) is that getElementByID just does not return any reference to
the QT object, but I haven't found any workaround yet.
Another wild guess would be that the object that reference the movie
is not yet set when the event is tentatively added to it, but even
after 2s delays, I don't get any better results.
Does anybody have a working example of a page that register quicktime
javascript events ?
--
Pascal Vuylsteker - consultant Opsomai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden