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
XFileSharing Pro - Divx player size problem
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
In index.cgi find
and replace with
only use your own sizes instead of 400x300
Code: Select all
$file->{vid_width}||=400;
$file->{vid_height}||=300;
Code: Select all
$file->{vid_width}=400;
$file->{vid_height}=300;
I modified those two lines and got this :
please help
thanks
Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] 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.
thanks
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
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
Use our tool to remove windows linebreaks from index.cgi: http://sibsoft.net/cgi-bin/Tools/nl.cgi