From: Peter Rose <[EMAIL PROTECTED]>
Subject: Re: Synchronization of JavaScript functions rather than URL
In message , RealForum <[EMAIL PROTECTED]> writes
>From: Bill Wilson <[EMAIL PROTECTED]>
>Subject: Synchronization of JavaScript functions rather than URL
>
>Hi.
>
>I noticed a similar post in the archives subject "Multimedia Synchronization
>Files in G2", with no apparent reply. Is there any way to sync audio with java
>script functions within a single html file rather than leaping to separate
html
>files using URL events?
>
>Thanks
>Bill
>
I guess if the synching wasn't too critical, you could maybe try
embedding your real audio/video file in the page with it set to
AUTOSTART, and then trigger events or changes within the page using
Javascript with setTimeouts. Things like different image displays would
come from preloaded arrays instead of loading new url's. Of course, this
means you have to take it on trust that the Real file is coming through
and not buffering, hanging etc - as the Javascript has no communication
with the server stream, it's a bit of shot in the dark. Although i
believe it is possible to establish communication between your
javascript and the RACallbacks to establish the thing is still playing??
Or have I lost the plot??
Good luck!
Peter Rose
London UK
"I don't like your fashion business mister"
- Leonard Cohen/First We Take Manhattan