Embedding a Google Video

There are two method for embedding Google Video within a page:

  1. a more difficult way with the added benefit of not requiring an activation click in Internet Explorer
  2. an easier way with the downside of Internet Explorer requiring its activation click for Flash content

1. The Harder Way

wiki code

the result


[swf:http://video.google.com/googleplayer.swf?docid=3920665352571935643&hl=en|320|280|8]

If you see this message, you browser may not be configured to see the flash-video here.

You can try viewing it at 
[http://video.google.com/videoplay?docid=3920665352571935643&hl=en 
| Google Video], but you may still need to acquire a new version of 
the Flash player at [http://www.adobe.com | Adobe.com].

[/swf]

If you see this message, you browser may not be configured to see the flash-video here.

You can try viewing it at Google Video, but you may still need to acquire a new version of the Flash player at Adobe.com.

This is simply a variation on the normal technique for swf embedding. A similar technique can be used for YouTube videos.

Getting the URL for a Google Video

To get the correct URL for the actual Google swf, observe that Google Video URLs are variations are the page URLs that host the videos:

page url
http://video.google.com/videoplay?docid=3920665352571935643&hl=en

swf url
http://video.google.com/googleplayer.swf?docId=docid=3920665352571935643&hl=en

2. The Easier Way

For an easier time of it, simply retrieve the "embed HTML" from your video's page on http://video.google.com and use it within an [html]....[/html] construct.

wiki code

the result



Blah, blah, blah.

[html]

<embed style="width:400px; height:326px;" id="VideoPlayback" 
type="application/x-shockwave-flash" 
src="http://video.google.com/googleplayer.swf?docId=3920665352571935643&hl=en" 
flashvars=""> </embed>

[/html]

More blah, blah, blah.

Blah, blah, blah.

More blah, blah, blah.

Notes

  • Naturally, the "blah, blah, blah" in the example is not required. It's merely there to illustrate that you can have any normal wiki content before and after the [html]...[/html] construct.

  • You can use a very similar method to embed YouTube videos and Picasaweb Slideshows.