Categorized | Site News

Tags : , , ,

Embed YouTube or Google Videos in your Forum Posts

Posted on 13 January 2008

This add-on for the forum has taken me a few hours to get everything installed and working correctly, but it looks like I finally got it. Most of the forum add-ons are fairly straight forward to install, but this latest mod was a custom job since I only wanted to add the Google and YouTube feature. The mod I pulled most of the code from had lots of other frivolous features that I didn’t think we needed. So enjoy this new feature and celebrate the fact that I didn’t crash the forum with my coding. ;)

To use this feature, you’ll see the Google Video and YouTube icons right below the message box where you type your post. Just click the icon and then paste in the URL for the video. The coding behind the scenes will stick the proper code into your post to embed the video.

The icons look like this:

You can also just type out the BBcode tags if you are so inclined. For YouTube videos, use [youtube][/youtube] and for Google videos use [GVideo][/GVideo].

Let me know if you experience any problems with the forum. I had to tweak a few things around to get this feature to work.

This post was written by:

Mike - who has written 115 posts on Mk3Love.


Contact the author

1 Comments For This Post

  1. rayray086 says:

    Phwoar, first time I’ve seen such a feature on a discussion board. You rock!

Leave a Reply