RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Divx player size problem

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
technoind



Joined: 05 Aug 2009
Posts: 38

PostPosted: Nov 12, 2009 3:17 am    Post subject: Divx player size problem Reply with quote

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
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Nov 12, 2009 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
technoind



Joined: 05 Aug 2009
Posts: 38

PostPosted: Nov 13, 2009 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Nov 14, 2009 9:03 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
thebeer



Joined: 01 Feb 2010
Posts: 47

PostPosted: Mar 04, 2010 1:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group