PHPBB: BB codes? Embedding youtube videos!

Post Reply
User avatar
kraze
Former staff
Former staff
Posts: 4362
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Sep 17, 2010 9:06 am
Location: California

PHPBB: BB codes? Embedding youtube videos!

Post 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

[youtube]http://www.youtube.com/watch?v={SIMPLETEXT}[/youtube]
5. For the second box labeled "HTML replacement" enter this;

Code: Select all

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{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!
Post Reply