YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Media resize (Read 1,338 times)
 Jun 12th, 2010 at 1:31pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Media resize
I remember doing this before, I just can't find it again.

I want to change the size of how YouTube videos are displayed on the forum.

How do I do that?
« Last Edit: Jun 12th, 2010 at 2:20pm by RonS2 »  
 
IP Logged  
 Reply #1 - Jun 12th, 2010 at 2:39pm
There are no actions to perform.  

Jet Li 
Legacy Dev Team
Development Team
****
Offline
Posts: 6,588
Hong Kong


None
Re: Media resize
Code Select All
[media width=720 height=480]http://www.youtube.com/watch?v=MymMhj3Vgww[/media] 



 
...
PM me for YaBB Installation Service
WWW Jet Li 100000788351637  
IP Logged  
 Reply #2 - Jun 12th, 2010 at 3:16pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Media resize
Thanks Jet,

If I remember correctly, somewhere in the admin section there is a setting I can use for every video instead of just one at a time.
 
 
IP Logged  
 Reply #3 - Jun 12th, 2010 at 3:19pm
There are no actions to perform.  

Jet Li 
Legacy Dev Team
Development Team
****
Offline
Posts: 6,588
Hong Kong


None
Re: Media resize
RonS2 wrote on Jun 12th, 2010 at 3:16pm:
If I remember correctly, somewhere in the admin section there is a setting I can use for every video instead of just one at a time.

nah! Only for Images.
 
...
PM me for YaBB Installation Service
WWW Jet Li 100000788351637  
IP Logged  
 Reply #4 - Jun 12th, 2010 at 4:00pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Media resize
From Mediacenter.pl

Code Select All
	if ($play_pars =~ m/width\=(\d{2,3})/i){
			$tempwidth= $1;
			if ($tempwidth >= 180 || $tempwidth <= 800){
				$pl_width = int($tempwidth);
				$pl_height = int(($pl_width*3)/4) + $controlheight;
			} else {
				$pl_width = 320;
				$pl_height = 240 + $controlheight;
			}
		} else {
			$pl_width = 320;
			$pl_height = 240 + $controlheight; 



Are these the values to change?
« Last Edit: Jun 12th, 2010 at 4:06pm by RonS2 »  
 
IP Logged  
 Reply #5 - Jun 15th, 2010 at 5:47pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Media resize
Yes

I changed 320 to 640 and 240 to 480

Works!
 
 
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.