Search This Blog

Friday, 22 July 2011

Adding YouTube embed to PhpBB

Under the 'posting' section in the ACP.

Create a new BBCode :

BBCode :

HTML replacement :
<iframe width="425" height="349" src="http://{SIMPLETEXT1}{SIMPLETEXT2}?rel=0" frameborder="0" allowfullscreen></iframe>

Assuming it saves OK you can now test this by manually adding a URL between the [youtube][/youtube] tags.  If it all works OK you can go back to the code edit and enable the 'Display on posting page' and add a little help text.