| View previous topic :: View next topic |
| Author |
Message |
technoind
Joined: 05 Aug 2009 Posts: 38
|
Posted: Nov 12, 2009 3:17 am Post subject: Divx player size problem |
|
|
I have the divx mod activated in the admin panel everything works ok except that the divx player generated has different sizes for every individual video file.
I have re-designed the entire site but could not find where to specify divx player size.
I'd like to set a fix width for every divx player generated.
Thanks |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Nov 12, 2009 5:55 pm Post subject: |
|
|
In index.cgi find
| Code: | $file->{vid_width}||=400;
$file->{vid_height}||=300; |
and replace with
| Code: | $file->{vid_width}=400;
$file->{vid_height}=300; |
only use your own sizes instead of 400x300 |
|
| Back to top |
|
 |
technoind
Joined: 05 Aug 2009 Posts: 38
|
Posted: Nov 13, 2009 12:18 pm Post subject: |
|
|
I modified those two lines and got this :
| Code: |
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@xxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
please help
thanks |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Nov 14, 2009 9:03 am Post subject: |
|
|
I guess you've saved file with windows linebreaks and this caused an error.
Use our tool to remove windows linebreaks from index.cgi: http://sibsoft.net/cgi-bin/Tools/nl.cgi |
|
| Back to top |
|
 |
thebeer
Joined: 01 Feb 2010 Posts: 47
|
Posted: Mar 04, 2010 1:40 am Post subject: |
|
|
Hi, I tried changing the values but the size doesn't change for the player.
I'd like both flv and divx player to be the same size.
Thanks |
|
| Back to top |
|
 |
|