[webkit-dev] Quicktime Plugin Javascript API

Benoit Marchant marchant at gmail.com
Wed Jan 31 11:59:26 PST 2007


Hi

I've been trying to use the javascript API for the quicktime plugin in  
an XHTML transitional document with no luck. I've used the following  
markup:

		<object name="Movie" width="600" height="600" type="video/quicktime"  
data="small.png">
			<param name="src" value="small.png" />
			<param name="AutoSize" value="1"/>
			<param name="scale" value="aspect" />
			<param name="controller" value="false" />
			<param name="href" value="almost.png" />
			<param name="target" value="OldCoverArt" />
			<param name="bgcolor" value="transparent" />
			<param pluginspage="http://www.apple.com/quicktime/download/"/>
			<param name="enablejavascript" value="true"/>
		</object>

which works great in WebKit and Firefox. I also tried the version with  
the embed inside an object tag, not working either.
I tried what is described here (http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_JavaScript/QTScripting_JavaScript.pdf 
)

for example, document. Movie.GetQuickTimeVersion(); and  
GetQuickTimeVersion doesn't exist on that object.

Is that suppose to work, if yes would someone have some clue?

Thanks in advance,

Benoit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070131/c86c8cc8/attachment.html


More information about the webkit-dev mailing list