Dynamic Embed Source Problems - Safari & QT7

asadoyle

Registered
Hello All,

I am having a problem where movies are not loading with Safari and Quicktime 7 only. They work fine with Safari and 6.5.2, or with Firefox and QT 7, Internet Explorer and QT7, or just in the QT7 player.

The files also work fine in Safari and QT7 as long as I hard code a static link to the page.

The problem only appears to occur when I use php code to pull the URL from a database.

The script works fine with all other configurations mentioned, including safari and QT 6.5.2, just not with Safari and QT7. I view source on the page and all data is still being coded to the object embed tags exactly as it would if I hard-coded the info.

Here is an example of the PHP code.

============
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab" width=800 height=616>
<param name="SRC" value="<?php echo basename($filepath)?>">
<param name="AUTOPLAY" value="false">
<param name="CONTROLLER" value="true">
<param name="kioskmode" value="true">
<embed src="<?php echo basename($filepath)?>" width=800 height=616 autoplay="false" controller="true" kioskmode="true" ></embed>
</object>

==============

Here is an example of what is printed when a view link is clicked
============
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab" width=800 height=616>
<param name="SRC" value="218_track_views_pc_web.mov">
<param name="AUTOPLAY" value="false">
<param name="CONTROLLER" value="true">
<param name="kioskmode" value="true">
<embed src="218_track_views_pc_web.mov" width=800 height=616 autoplay="false" controller="true" kioskmode="true"></embed>
</object>
===========

Any suggestions are greatly appreciated.

Thanks in advance,
Asa Doyle
 
Back
Top