XFileSharing Pro - Divx player size problem

Message
Author
technoind
Posts: 38
Joined: Aug 05, 2009 7:04 am

Divx player size problem

#1 Postby technoind » Nov 12, 2009 3:17 am

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

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Nov 12, 2009 5:55 pm

In index.cgi find

Code: Select all

      $file->{vid_width}||=400;
      $file->{vid_height}||=300;

and replace with

Code: Select all

      $file->{vid_width}=400;
      $file->{vid_height}=300;

only use your own sizes instead of 400x300

technoind
Posts: 38
Joined: Aug 05, 2009 7:04 am

#3 Postby technoind » Nov 13, 2009 12:18 pm

I modified those two lines and got this :

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.


please help

thanks

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Nov 14, 2009 9:03 am

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

thebeer
Posts: 47
Joined: Feb 01, 2010 9:41 am

#5 Postby thebeer » Mar 04, 2010 1:40 am

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


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests