Thread-topic: Safari, QuickTime, and JavaScript Broken?
User-agent: Microsoft-Entourage/11.2.5.060620
Addendum:
I think I discovered something. Because of a problem I encountered
previously I had removed the "QuickTime Plugin.webplugin" from the
"Library/Internet Plug-ins" folder. As a test I just added it back and the
error messages went away, it still doesn't play. This tells me the problem
is connected with this plug-in. I removed this plug-in previously because
with it in place no QuickTime would play in Safari, I would just get the
ghosted blue QuickTime logo with the question mark.
Charles
> From: Charles Klarr <email@hidden>
> Date: Tue, 26 Sep 2006 09:20:00 -0500
> To: "email@hidden" <email@hidden>
> Conversation: Safari, QuickTime, and JavaScript Broken?
> Subject: FW: Safari, QuickTime, and JavaScript Broken?
>
> Thanks Francis, but your suggested modifications don't work either. In both
> cases I still receive the same JavaScript Console error message and nothing
> loads into the QuickTime plug-in.
>
> To re-iterate the error message is: "Value undefined (result of expression
> document.QTPlayerObj.SetURL) is not object." To me this means that Safari is
> not communicating with QuickTime. Because it doesn't know that an instance of
> QuickTime has been established it won't communicate with it.
>
> The exact Safari version is 2.0.4. The exact QuickTime version is 7.1.3.
>
> As an aside the <embed> method is a deprecated method for embedding (and yes I
> did test your suggested <embed> method). <object> is the proper way to embed
> applications/plug-ins in a web page. I know just about every document on the
> planet still describes the <embed> method but it is only needed for old
> browser support. The <object> method is supported in current releases of IE,
> FF, Opera, Safari, etc. In my (somewhat) controlled environment I don't need
> to support old browsers. I just need the current browsers to work.
>
> Charles
>
>
> ------ Forwarded Message
> From: Francis Gorge <email@hidden>
> Date: Tue, 26 Sep 2006 10:26:11 +0200
> To: Charles Klarr <email@hidden>, QuickTime-Users
> <email@hidden>
> Subject: Re: Safari, QuickTime, and JavaScript Broken?
>
> Charles,
>
> Here is a working and better code :
>
> <object type="video/quicktime" width="120" height="16"
> id="QTPlayerObj" name="QTPlayerObj"
> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
> <param name="autoplay" value="true" />
> <param name="controller" value="true" />
> <param name="cache" value="false" />
> <param name="kioskmode" value="true" />
> <param name="enableJavaScript" value="true" />
> </object>
>
> a more better could be :
>
> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
> width="120" height="32" codebase="http://www.apple.com/qtactivex/
> qtplugin.cab" id="QTPlayerObj">
> <param name="src" value="stamp.gif">
> <param name="controller" value="false">
> <param name="autoplay" value="true">
> <param name="cache" value="false">
> <param name="kioskmode" value="true">
> <embed
> src="stamp.gif"
> width="120" height="32"
> controller="false"
> autoplay="true"
> cache="false"
> kioskmode="true"
> enablejavascript="true"
> name="QTPlayerObj"
> type="video/quicktime"
> pluginspage="http://www.apple.com/quicktime/download/">
> </embed>
> </object>
>
>
> To avoid errors , Use PAGEot te generate you code
> http://www.qtbridge.com/pageot/pageot.html
>
> Sincerely,
>
> Francis Gorge
>
>
>
>
> Le 25 sept. 06 à 22:45, Charles Klarr a écrit :
>
>> I have been racking my head over this for a week now.
>>
>> I am attempting to create an embedded QuickTime audio player for
>> our in
>> house audio library. This embedded QuickTime player needs to be
>> accessible
>> through JavaScript. Everything works perfect in Internet Explorer
>> on Windows
>> and Firefox on Windows or Mac but it absolutely will not work in
>> Safari on
>> Mac.
>>
>> I have tested with these browser/os versions.
>> IE 6.0/WinXP/Good
>> IE 7.0/WinXP/Good
>> FireFox 1.5/WinXP/Good
>> FireFox 1.5/Mac 10.4.7/Good
>> Safari 2.0/Mac 10.4.7/Broken
>>
>> Below is example code for how how set up the embedded player and then
>> program it. Sorry I can't provide a direct link as our in house
>> library is
>> not publicly accessible.
>>
>>
>> <code for Internet Explorer>
>> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
>> codebase="http://www.apple.com/qtactivex/qtplugin.cab"
>> type="video/quicktime" width="120" height="16" id="QTPlayerObj">
>> <param name="controller" value="true" />
>> <param name="autoplay" value="false" />
>> <param name="cache" value="false">
>> <param name="kioskmode" value="true">
>> </object>
>> </code for IE>
>>
>> <code for Firefox & Safari>
>> <object type="video/quicktime" data="" width="120" height="16"
>> id="QTPlayerObj" name="QTPlayerObj"
>> codebase="http://www.apple.com/qtactivex/qtplugin.cab">
>> <param name="autoplay" value="true" />
>> <param name="controller" value="true" />
>> <param name="cache" value="false">
>> <param name="kioskmode" value="true">
>> <param name="EnableJavaScript" value="true">
>> </object>
>> </code for FF & S>
>>
>> <Scripting QT, all browsers>
>> <img src="img.gif" onClick="document.QTPlayerObj.SetURL
>> ('mp3toplay.mp3');">
>>
>> Results:
>> In Internet Explorer and Firefox, click on the image fires the
>> QuickTime
>> plugin - loading the mp3 file and playing it.
>>
>> In Safari nothing happens. When I check the JavaScript Console I
>> see this
>> error:
>> "Value undefined (result of expression document.QTPlayerObj.SetURL)
>> is not
>> object."
>>
>>
>> I really need some help on this one as nothing I have tried has
>> made this
>> work in Safari.
>>
>> Charles
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> QuickTime-Users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/quicktime-users/francis.gorge
>> %40briq.com
>>
>> This email sent to email@hidden
>
>
> ------ End of Forwarded Message
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/email@hidden
This email sent to email@hidden