setting extra options for quicktime mov files setting extra options for quicktime mov files
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

setting extra options for quicktime mov files

Started by Paranoid, March 15, 2005, 08:05:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paranoid

Hi,

Is it possible to set extra options for mov files as they are shown in Coppermine? I'm interested mostly in the option CONTROLLER="true" wich can be set if the mov is loaded in a 'normal' html file. This adds a controller bar to the movie.
But as I know little or nothing of PHP, I do not know where to look to add this option. My guess is that it has to be done in displayimage.php, but I do not know what to change or where to change it.

Maybe someone can help me with this?

Thanks for your time.

Edwin.

foulu

in displayimage.php

line 198

$pic_html = "<object {$image_size['whole']}><param name=\"autostart\" value=\"true\"><param name=\"src\" value=\"". $picture_url . "\"><embed {$image_size['whole']} src=\"". $picture_url . "\" autostart=\"true\"></embed></object><br />\n";

it control mov file, change it to suit your own need.

Paranoid

Hi Foulo,

Let me see if I got it.

So if I change line 198 to

$pic_html = "<object {$image_size['whole']}><param name=\"controller\" value=\"true\"><param name=\"autostart\" value=\"true\"><param name=\"src\" value=\"". $picture_url . "\"><embed {$image_size['whole']} src=\"". $picture_url . "\" autostart=\"true\"></embed></object><br />\n";

the parameter controller is set to true? Is this only for .mov files?

Thanx,

Edwin.