phpBB youtube insert video in bbcode

To make a button to insert video in phpBB, you need to add a new bbcode, because the function of converting a safe bbcode in html. Directly allow the user to use html – very undesirable in terms of forum security, so everything is done only using bbcode.
It is very easy to make youtube insert button in phpbb:
Go to the forum administration section, there in “Posts”, at the top will be “BBCodes”. Add a new code and fill in the following information in the form:

BBCode Usage:

HTML Replacement:
<object width=”425″ height=”350″><param name=”movie” value=”{IDENTIFIER}://{SIMPLETEXT1}{SIMPLETEXT2}”></param><param name=”wmode” value=”transparent”></param><embed src=”{IDENTIFIER}://{SIMPLETEXT1}{SIMPLETEXT2}” type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”350″></embed></object>

Help Line:
Youtube video: [youtube][/youtube]
Show on the reply page – check the box 🙂 And press “send”.

Here’s our youtube insert in phpBB and done! This will allow you to insert a link like between the brackets and get a nice video in the native, youtube player.
Warning! I strongly do not recommend using self-made or built-in players – the load in terms of the initial traffic (page loading) will increase dozens of times. Only embedded Youtube, only hardcore! 😉

This entry was posted in phpBB (en). Bookmark the permalink.

Leave a Reply

🇬🇧 Attention! Comments with URLs/email are not allowed.
🇷🇺 Комментарии со ссылками/email удаляются автоматически.