or Connect
AppleInsider › Forums › General › Genius Bar › QT: Embedding in Browser + Viewing Duration
New Posts  All Forums:Forum Nav:

QT: Embedding in Browser + Viewing Duration

post #1 of 3
Thread Starter 
I have an MP3 that I'd like to play in a browser window. I figured out how to embed it and perfect it, but: It is necessary to view the elapsed time of the track as it is watched. I'd like to be able to see this via the controller, but it would be perfectly fine to view the time with some JavaScript timer. So, my question...

Either:

A) How can I view the elapsed time in the QuickTime controller?
-or, if impossible-
B) How can I use JavaScript so that a separate timer is initiated as the QT movie is played?

Thanks!
post #2 of 3
I suggest browsing the tutorial: <a href="http://www.apple.com/quicktime/products/tutorials/" target="_blank">http://www.apple.com/quicktime/products/tutorials/</a>
post #3 of 3
Thread Starter 
[quote]Originally posted by zonetuke:
<strong>I suggest browsing the tutorial: <a href="http://www.apple.com/quicktime/products/tutorials/" target="_blank">http://www.apple.com/quicktime/products/tutorials/</a></strong><hr></blockquote>

Yes. I've tried... I've perused the entire Authoring section, to no avail. Maybe there's something obvious that I'm missing, but... hm.

Anyway. Next question: Where in the following code would an "on click" tag go? I'm trying to get the OBJECT version of the code to work - the EMBED version appears to work perfectly well. Obviously, carats have been replaced with parenthesis. And AI is giving me heartache, so I've put a space between on and click - I know it's one word:

[quote](OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="202"HEIGHT="26"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab")
(PARAM name="SRC" VALUE="http://mysite/playsong.mov")
(PARAM name="HREF" VALUE="http://mysite/singsingsing.mp3" on click="javascript:Start()")
(PARAM name="ENABLEJAVASCRIPT" VALUE="true")
(PARAM name="NAME" VALUE="movie1")
(PARAM name="TARGET" VALUE="myself")
(PARAM name="AUTOPLAY" VALUE="false")
(PARAM name="CONTROLLER" VALUE="false")
(embed src="http://mysite/playsong.mov" name="movie1" width="202" height="26" enablejavascript="true" href="http://mysite/singsingsing.mp3" target="myself" on click="javascript:Start()" AUTOPLAY="false" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/")
(/EMBED)
(/OBJECT)
<hr></blockquote>

Thanks again.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Genius Bar
AppleInsider › Forums › General › Genius Bar › QT: Embedding in Browser + Viewing Duration