Thread-topic: Safari, QuickTime, and JavaScript Broken?
User-agent: Microsoft-Entourage/11.2.5.060620
Yes. Firefox displays the page from my server exactly as Safari displays it
from his. But Safari won't load the QuickTime plug-in when from my server.
> From: Caroling Geary <email@hidden>
> Date: Tue, 26 Sep 2006 10:11:49 -0500
> To: Charles Klarr <email@hidden>
> Subject: Re: Safari, QuickTime, and JavaScript Broken?
>
> Do you have both stamp.gif and img.gif on your server?
>
> On Sep 26, 2006, at 10:04 AM, Charles Klarr wrote:
>
>> Francis,
>>
>> I am completely lost now.
>>
>> I went to your page in both Safari and Firefox. Worked perfectly.
>> Copied
>> your page, in exactness, to my server went to it with Safari and
>> Firefox -
>> won't work in Safari. In Safari I get the ghostly blue QuickTime
>> icon with
>> the question mark. The page works right loaded from your server
>> though.
>>
>> Charles
>>
>> ------ Forwarded Message
>> From: Francis Gorge <email@hidden>
>> Date: Tue, 26 Sep 2006 16:25:39 +0200
>> To: Charles Klarr <email@hidden>
>> Subject: Re: Safari, QuickTime, and JavaScript Broken?
>>
>> The following url works fine for me :
>> http://www.qtbridge.com/test/mp3player/
>>
>> Tell m e if it works or if you have trouble with it
>>
>> Francis
>>
>>
>> Le 26 sept. 06 à 16:20, Charles Klarr a écrit :
>>
>>> 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/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/caroling%
>> 40mchsi.com
>>
>> This email sent to email@hidden
>
> Caroling Geary, www.wholeo.net
>
>
>
_______________________________________________
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