how to insert youtube preview videos in a phpbb forum using bbcode

This bbcode will allow phpbb forum members to insert a preview youtube video clip into there posts with a easy button on the post bar.

This works great with the share button on youtube that copys the whole http link.

Login to your ACP panel and the “Posting” tab

The click new bbcode and enter the following code as below.

BBCode usage:-

——–copy below- ———

[youtube]http://{SIMPLETEXT1}youtube.com/watch?v={SIMPLETEXT2}[/youtube]

——–copy end- ———

HTML replacement:-

——–copy below- ———

<br> <a href=”http://www.corporate-computers.co.uk/2010/09/how-to-insert-youtube-preview-videos-in-a-phpbb-forum-using-bbcode/” title=”Corporate-Computers.Co.Uk | Technology Blog” target=”_blank”>YouTube Plugin Support</a><br><object width=”480″ height=”385″><param name=”movie” value=”http://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}&hl=en_US&fs=1&”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”480″ height=”385″></embed></object><br> <a href=”http://andthenhost.com/99phosting.html” title=”andthenhost.com | Affordable PHPBB Hosting” target=”_blank”>Website Hosting From 99p | Blogs, Forums & CMS</a><br>

——–copy end- ———

Help line:-

——–copy below- ———

[youtube]Full url address of the you tube video[/youtube]

——–copy end- ———

Settings:-

Tick option to display on posts

Leave a Reply