By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,215 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,215 IT Pros & Developers. It's quick & easy.

problem in playing the selected video in the embedded quicktime player

P: 2
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:

Expand|Select|Wrap|Line Numbers
  1.  
  2. if($ext=="mov"){
  3.  
  4. 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'> 
  5.                    <param name=src value='$getVideoPath'>
  6.                    <param name='autohref' value='true'>
  7.                    <param name='controller' value='true'>
  8.                    <param name='href' value='$getVideoPath'>
  9.                    <param name='target' value='quicktimeplayer'>
  10.                    <embed src='$getVideoPath' type='image/x-quicktime' width=320 height=240 autohref='true' controller='true' href='$getVideoPath' target='quicktimeplayer'>
  11.                    </embed>
  12.                    </object>";
  13.  
  14.  
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.
Mar 12 '08 #1
Share this Question
Share on Google+
1 Reply


Markus
Expert 5K+
P: 6,050
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:

Expand|Select|Wrap|Line Numbers
  1.  
  2. if($ext=="mov"){
  3.  
  4. 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'> 
  5.                    <param name=src value='$getVideoPath'>
  6.                    <param name='autohref' value='true'>
  7.                    <param name='controller' value='true'>
  8.                    <param name='href' value='$getVideoPath'>
  9.                    <param name='target' value='quicktimeplayer'>
  10.                    <embed src='$getVideoPath' type='image/x-quicktime' width=320 height=240 autohref='true' controller='true' href='$getVideoPath' target='quicktimeplayer'>
  11.                    </embed>
  12.                    </object>";
  13.  
  14.  
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.
What do you see when you look at the source code of the output data?

(the embed code - are the variables outputting properly?)

Regards.
Mar 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.