I'd like to embed QuickTime movies on my site using custom controls (play/pause/volume) like Apple does on its website. I'm assuming it's just some fancy JavaScript and .gifs/.pngs?
+3
A:
I think they're using the javascript API for Quicktime and attaching functions to individual elements such as play, pause etc.
gargantaun
2009-10-24 15:48:57
A:
A simple example using a shoutcast stream & jQuery:
<EMBED name="shoutcastPlayer" enablejavascript="true" src="qtlogo.mov"
qtsrc="http://foo.bar:554/listen.pls"
autoplay="false" controller="false" loop="true"
pluginspage='http://www.apple.com/quicktime/download/'></EMBED>
<a href="#" onclick="$('[name=shoutcastPlayer]')[0].Play();">Play</a>
<a href="#" onclick="$('[name=shoutcastPlayer]')[0].Stop();">Pause</a>
As the other poster pointed out, this is all contained within the QT Javascript API.
Matt Baker
2009-10-24 17:09:25