"Dustin Krysak" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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!

Put an if check around your QT placeholder code:

if (isset($_POST['nameOfYourSelectBox'])) {

// placeholder code

}

Set your embed src-tag to:

src="../../../mov/<?= $_POST['nameOfYourSelectBox']; ?>"

So if you submit your select box the selected movie should be shown. Maybe
you can omit the width and height attributes.


Regards, Torsten

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

Reply via email to