Enabling Embedded YouTube Videos on phpBB Forums – A How To

If you are like me, you went with phpBB to build your forum because you found the options were outside of your budget for such a project. What comes along with the territory is learning how to do things yourself, since you are taking a free product and then trying to maximize it for your own uses.

In phpBB, there is no way for the forum engine to recognize a YouTube link and embed it unless you manually code this into your site.

Here is a simple step by step guide to get you to a working YouTube solution for phpBB:

1. Open the Administration Control Panel

2. Go to “Posting”

3. Select “BBCoding”

4. In the “BBCode usage” area, you will need to enter the following Code exactly as it is posted below:

Screen Shot 2013-08-25 at 8.14.11 PM

5. In the “HTML Replacement” area, you will need to paste the following code: 

<object width=”560″ height=”315″><param name=”movie” value=”{TEXT1}.youtube.com/v/{TEXT2}?hl=en_US&amp;version=3″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”{TEXT1}.youtube.com/v/{TEXT2}?hl=en_US&amp;version=3″ type=”application/x-shockwave-flash” width=”560″ height=”315″ allowscriptaccess=”always” allowfullscreen=”true”></embed></object>

6. Save this configuration and then open up a topic and create a test post using the tags “[youtube] insert url [/youtube]”

When you are confident that you have it working the way you want, then you can display the BBCode on the posting page by checking the box “Display on Posting Page.” This will assure that users to your forum know how to use this feature.


The final edit should look something like this:

Screen Shot 2013-08-25 at 7.56.10 PM