default video dimensions? default video dimensions?
 

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

default video dimensions?

Started by MonkeyManx, February 27, 2005, 06:22:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MonkeyManx

Is there a way to change the default video dimensions?

Joachim Müller

not sure what you mean. What's a default video dimension? You have to specify the width and height of every video you upload, if you want the videos to display properly in all most browsers. See http://coppermine.sourceforge.net/manual.php#edit_vids

Joachim

MonkeyManx

Like when it asks you to enter the height and width the default number in the box is 0. Could that number be changed?

damscot

This question has no aswer...  ???

And I'm currently facing the same issue... is there any way
to define anew default video size with something else than 0x0.

Does this information can be part of the main coppermind admin configuration.

Thanks.
Damien.

Nibbler

The answer is trivial, hence little response.

upload.php, find:

<input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="" class="textinput">

change to

<input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$value" class="textinput">

and above

// Create a text box.

add

$value = $name == 'movie_wd' ? '123' : ($name == 'movie_ht' ? '456' : '');

123 is default width, 456 is default height.