XFileSharing Pro - how to change player size?

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

how to change player size?

#1 Postby thebeer » Mar 11, 2010 2:35 pm

Hi, how do I change player size for both flv and divx player? I want it to be the same size all the time.

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

#2 Postby thebeer » Mar 12, 2010 1:09 am

Anyone? Please?

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

#3 Postby PilgrimX182 » Mar 12, 2010 12:17 pm

In index.cgi replace

Code: Select all

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

Code: Select all

$file->{vid_width}=640;
$file->{vid_height}=480;
where 640 x 480 will be new fixed player sizes.

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

#4 Postby thebeer » Mar 12, 2010 12:49 pm

I tried this, didn't work. I guess it doesn't work for videos that has a smaller width and height than the player.

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

#5 Postby PilgrimX182 » Mar 12, 2010 1:07 pm

U sure u've removed || ?

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

#6 Postby thebeer » Mar 12, 2010 1:10 pm

oh damn, didn't notice that. Thank you very much! that worked!!!