problem in playing the selected video in the embedded quicktime player

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • josephChiaWY
    New Member
    • Mar 2008
    • 2

    problem in playing the selected video in the embedded quicktime player

    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.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Originally posted by josephChiaWY
    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.
    What do you see when you look at the source code of the output data?

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

    Regards.

    Comment

    Working...