FireFox 1.5 problem
Jeg har forsøgt at få noget meget simpelt JavaScript til at håndtere en QuickTime player. Har slavisk fulgt Appel's egen tutorial: http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_JavaScript/index.html#//apple_ref/doc/uid/TP40001526Det virker fint i IE, men FireFox har problemer med det! Her er mit kode...
<HTML>
<HEAD>
<TITLE>Quicktime</TITLE>
</HEAD>
<BODY bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#555555">
<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="390"
height="16"
id="movie1">
<PARAM NAME="src" value="test.mp3">
<PARAM NAME="AutoPlay" value="false">
<PARAM name="URL" value="http://www.3dcoder.net/music/test.mp3">
<PARAM name="uiMode" value="none">
<EMBED width="390" height="16"
src="test.mp3"
type="audio/mpeg"
PLUGINSPAGE="http://www.apple.com/quicktime/download/"
AUTOPLAY="false"
name="movie1"
enablejavascript="true"
HREF="java script: alert('You clicked the poster!')">
</EMBED>
</OBJECT>
<br>
<font face="Verdana" size="2" color="#FFFFFF">
<a href="java script: document.movie1.Play();">Play</a>
<a href="java script: document.movie1.Stop()">Pause</a>
<a href="java script: document.movie1.Stop(); document.movie1.Rewind()">Stop</a>
</font>
<br>
<br>
<a href="http://www.apple.com/quicktime/download/">
<img src="qtlogo.gif" width="88" height="31" border="0">
</a>
</BODY>
</HTML>