How to embed a Google Video in SMF

About a year ago I wrote a post on how to embed a YouTube video in a Simple Machines Forum post. Well, as it works out today I needed to embed a Google Video in a post so I went through and did almost the same process to get it to work.

The first thing you’ll need is the Custom BBC Mod for SMF. Rather than rehash how to set it up, head on over to the post about embedding YouTube and follow along there. When you get to the YouTube specific stuff hit the back button and continue on here.

Put the following into the HTML for the tag.

HTML:
  1. <embed id=“VideoPlayback” src=“http://video.google.com/googleplayer.swf?docid={content}&hl=en&fs=true” style=“width:400px;height:326px” allowFullScreen=“true” allowScriptAccess=“always” type=“application/x-shockwave-flash”> </embed>

I used googlevideo as the name for the tag name.

You’ll need to get the docID out of the Google Video URI. Part of the query string will look like docID=1234567890. Get what’s after the = and copy it for later.

Now to embed the Google Video with docID=1234567890 you’d just put [googlevideo]1234567890[/googlevideo] into the post.

Example?
Thought you’d ask. Here’s the thread on my photography forum where I used this to embed a Google Video.

Question, Comments...

Do you have more questions. Please either leave a comment below or join us in our new forum.

Leave a Reply