Ok - here is the relevant Quicktime code:

<!-- START QUICKTIME CONTENT -->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="256" codebase="http://www.apple.com/qtactivex/qtplugin.cab";>
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html";>
<param name="target" value="myself">
<param name="type" value="video/quicktime">
<param name="src" value="../../../mov/THElostART.mov">
<embed src="../../../mov/THElostART.mov" width="320" height="256" autoplay="true" controller="true" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"; target="myself"></embed>
</object>
<!-- END QUICKTIME CONTENT -->


Now I figure - getting the file name in there would be pretty easy (for the most part), but the thing is getting the dimensions of the movie in there... as it is possible that not all movies are the same dimensions. I am hoping to have just the one PHP that will change dynamically for the QT content - I would like to avoid having a php or html file for each QT movie.

d

PS - please CC me directly as I am subscribed in digest mode.. thanks much!







On 31-May-04, at 3:08 PM, [EMAIL PROTECTED] wrote:

"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
ok, I added brackets and made my code to:

<?php
if ($handle = opendir('../../../mov')) {
    while (false !== ($file = readdir($handle))) {

        if ($file != '.' && $file != '..') {

            $fileName = str_replace('.mov', '', $file);
            echo '<option value="../../../mov/' . $file . '">' .
$fileName . '</option>';
        }
    }
    closedir($handle);
}
?>

when viewing my page in a browser, it worked! Now what I am hoping to
do is put this menu on a PHP page, and have a qt movie placeholder and
when this menu is used - replace the placeholder with the selected qt
movie... I am just not sure how to do this.

This should be easy. Please post your QT placeholder (HTML) code. Then we
can help.


Regards, Torsten

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to