PDA

View Full Version : BB Code Enhancements - High Definition and Widescreen Youtube BB Code


fattony69
11-28-2008, 10:00 PM
Hey guys, Fat Tony69 here again! Youtube recently made it possible for high definition and widescreen videos. Since then, the members of my forum wanted the chance to embed this. After doing some looking, I made this possible. This is great for a video forum or such. This modification is brought you by TheBestForumEver.com (http://thebestforumever.com):


Title: High Definition and Widescreen Youtube Embedding

BB Code Tag Name: hdyt

Replacement:

Code:
<object width="615" height="360"><param name="movie" value="http://www.youtube.com/v/{param}&ap=%2526fmt%3D22&fmt=22&hl=en&fs=1&color1=0xe1600f&color2=0xfebd01"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{param}&ap=%2526fmt%3D22&hl=en&fs=1&color1=0xe1600f&color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="615" height="360"></embed></object>

Example: FEm8PZ_lUh8

Description: For high definition and widescreen youtube.

Use {option}: No

Everything else can be left the same!

Please click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=197551) if you like this BBcode.

Brought to you by: TheBestForumEver.com (http://thebestforumever.com/)!

stickskills
11-29-2008, 08:20 PM
I'd rather see this as a mod with usergroup settings, but good work.

skol
11-30-2008, 08:45 PM
I'd rather see this as a mod with usergroup settings, but good work.
Cant see the point in that stickskills..are you allowing users to embed now..

Thanx Fattony..Will click installed..Just one problem "we're sorry this video is no longer available"

foxtrialer
12-02-2008, 04:49 PM
So it`s working or no?

skol
12-03-2008, 06:04 PM
FEm8PZ_lUh8 That works fine..but nothing else will...

jjrambo
12-04-2008, 02:56 AM
I'm not sure what is wrong with that extra string of code that he has in there.

&ap=%2526fmt%3D22&fmt=22

but yeah it doesn't work for nothing when used on my forum either. only with select videos.

also he forgot to include the transparency code to allow the menus to be seen over top of the video when the videos are in the first post of the thread.

fattony69
12-05-2008, 05:28 PM
This only works for high definition videos.

skol
12-11-2008, 04:26 PM
This only works for high definition videos.

Tried them did not work..maybe you can post another that does.

fattony69
12-11-2008, 07:42 PM
Tried them did not work..maybe you can post another that does.

http://thebestforumever.com/youtube-videos/6239-high-definition-videos.html

Keesa
12-27-2008, 08:45 PM
It worked for me, I tweaked the sizes around a bit to 1024X506 to make it even BIGGER for special occasions.

Here's an HQ and widescreen video code if anyone needs to test it.

http://www.youtube.com/watch?v=kTiXCxtdVTE

Not sure why it builds in the yellow border, but hey, it's really cool for when new band videos are released. Ours being a forum for a band and all. :D

nhdriver4
01-10-2009, 06:00 PM
If you want to use the default YouTube grey borders, remove the following code:
&color1=0xe1600f&color2=0xfebd01

Note that there are two instances of this string. Remove them both.

sifo
04-27-2009, 08:53 PM
nice thanks