https://www.icyphoenix.com/viewtopic.php?f=32&t=4024&p=47375#p47375
-----------------------------------
channelasian
Fri 29 Jan, 2010 13:53

Re: YouTube BBCode
-----------------------------------
[quote user="ihitf13anddied" post="31650"][b]YouTube BBCode Best Method![/b]


Hello!

This bbcode snippet here will allow your users to paste the WHOLE YOUTUBE LINK. I use this on my phpbb3 forums over at www.aintnobullshit.com and it works great!


BBcode usage:
[code][youtube]http://www.youtube.com/watch?v={TEXT}[/youtube][/code]

HTML Replacement:
[code]<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>[/code]


This is a much easier method than having the users copy and paste a small ID #.......and this method even works if you add the "&feature=related" thing on the end, too.


Happy phpbbing!
~f13[/quote]

Thanks alot man.!! It works great with me.


