PHPBB: BB codes? Embedding youtube videos!
Posted: Thu Feb 23, 2012 1:07 am
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
5. For the second box labeled "HTML replacement" enter this;
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!
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]
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>
7. Click "Submit"
You are now all set and ready to start embedding youtube videos on your forums!