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- ———


——–copy end- ———

HTML replacement:-

——–copy below- ———

<br> <a href=”” 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}{SIMPLETEXT2}&hl=en_US&fs=1&”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://{SIMPLETEXT1}{SIMPLETEXT2}&hl=en_US&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”480″ height=”385″></embed></object><br> <a href=”” title=” | 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- ———


Tick option to display on posts

Share this post
You may also like