Hi all,
Recently, i have met a problem in playing the selected video in the embedded quicktime player. I am creating a video gallery for people to view their .mov file on quicktime player. Below are parts of my code:
[CODE=php]
if($ext=="mov") {
echo "<object classid='clsid: 02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width=320 height=240 standby='Data is loading...' codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
<param name=src value='$getVide oPath'>
<param name='autohref' value='true'>
<param name='controlle r' value='true'>
<param name='href' value='$getVide oPath'>
<param name='target' value='quicktim eplayer'>
<embed src='$getVideoP ath' type='image/x-quicktime' width=320 height=240 autohref='true' controller='tru e' href='$getVideo Path' target='quickti meplayer'>
</embed>
</object>";
[/CODE]
The output results is a Quicktime logo being shown and none of the video selected is shown
*Note: $getVideoPath variable is the path where the user's video are stored.
$ext is the file name extension. So far only my file that is .avi is working on windows media player.
Recently, i have met a problem in playing the selected video in the embedded quicktime player. I am creating a video gallery for people to view their .mov file on quicktime player. Below are parts of my code:
[CODE=php]
if($ext=="mov") {
echo "<object classid='clsid: 02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width=320 height=240 standby='Data is loading...' codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
<param name=src value='$getVide oPath'>
<param name='autohref' value='true'>
<param name='controlle r' value='true'>
<param name='href' value='$getVide oPath'>
<param name='target' value='quicktim eplayer'>
<embed src='$getVideoP ath' type='image/x-quicktime' width=320 height=240 autohref='true' controller='tru e' href='$getVideo Path' target='quickti meplayer'>
</embed>
</object>";
[/CODE]
The output results is a Quicktime logo being shown and none of the video selected is shown
*Note: $getVideoPath variable is the path where the user's video are stored.
$ext is the file name extension. So far only my file that is .avi is working on windows media player.
Comment