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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.