How to add youtube clips in phpBB3 posts with BBcodes
by Dan the 12. August, 2008This tutorial will show you how to add youtube-, break- or any flash-video that you want show in your forum post with bbcodes.
First you got to go into the ACP (Admin Control Panel) and then you have to press the “Posting”-tab. You will then get straight in to the BBCodes-page. Press then the Add a new BBCode.
You have now got 3 textboxes and 1 checkbox in your window. In the first you paste this:
[utube]{TEXT}[/utube]
In the next box you paste this:
<embed src="{TEXT}" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>
In the next box you can write “For flash videos!” And then check the checkbox. And then you are finished with the BBCode.
But you can’t post the url to a youtube in between the [utube]-boxes. What you have to do is simple copy the url, then press the utube button or write the code yourself. [utube][/utube].
Then paste the url in between like this
[utube]http://www.youtube.com/watch?v=jsjAAc2P33E[/utube]
For it to get the flash file remove watch? and replace = with a / so you end up with this:
[utube]http://www.youtube.com/v/jsjAAc2P33E[/utube]


Chris
12th. September, 2008Hello!
This bbcode snippet here will allow your users to paste the WHOLE YOUTUBE LINK. I use this on my phpbb3 forums over at http://www.aintnobullshit.com and it works great!
BBcode usage:
HTML Replacement:
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