default video dimensions? default video dimensions?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.