Page 1 of 1

PHPBB: BB codes? Embedding youtube videos!

Posted: Thu Feb 23, 2012 1:07 am
by kraze
BBCode or Bulletin Board Code is a lightweight markup language used to format posts in many message boards. This can be extremely useful to not only do some cool things but add some good functionality to your forum.

1. Navigate to your administrator control panel
2. Select "Posting" at the top then "BBCodes"
3. Click "Add new BBCode"
4. For the first box labeled "BBCode usage" enter this

Code: Select all

5. For the second box labeled "HTML replacement" enter this;

Code: Select all

<object width="425" height="350"><param name="movie" value="{SIMPLETEXT}"></param><param name="wmode" value="transparent"></param><embed src="{SIMPLETEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
6. Under "Settings" select the box to enable displaying on posting page
7. Click "Submit"

You are now all set and ready to start embedding youtube videos on your forums!