Detect Audio with JavaScript (not Actions)
I'm working on an external script (not an action) that will parse a timed text file to display closed captions in Captivate. It's about halfway finished -- I can parse the file, and load the captions into a <div> I created. (Yippie!) The problem is that I want the captions to start automatically when the audio on the timeline plays. Right now the captions start when a new slide loads. Sometimes, however, our audio doesn't start immediately, so everything gets out of sync.
The Common JavaScript Interface doesn't seem to have anything I can use, so I've resorted to playing with the CMP file, and I'm completely lost. Can anyone help me get started? Does anyone know what part of the code controls audio?
Thanks,
Sharon