Difference between revisions of "Widget:Google Video"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>Category:Video Widget This widget allows you to add [http://video.google.com/ Google Video] player to your wiki page. It was originally created by [[mediawikiwiki...")
 
 
Line 13: Line 13:
  
 
Width and hight are optional, 400x326 is a default, "docid" is a docid parameter in the URL.
 
Width and hight are optional, 400x326 is a default, "docid" is a docid parameter in the URL.
 
{{Template:Copy to your site}}
 
== Sample result ==
 
{{#widget:{{PAGENAME}}|docid=-4567104036778249401}}
 
</noinclude><includeonly><embed id="VideoPlayback" style="width:<!--{$width|default:400|escape:'html'}-->px; height:<!--{$height|default:326|escape:'html'}-->px" flashvars="" src="http://video.google.com/googleplayer.swf?docid=<!--{$docid|escape:'urlpathinfo'}-->&hl=en" type="application/x-shockwave-flash"></embed></includeonly>
 

Latest revision as of 11:51, 21 October 2010

This widget allows you to add Google Video player to your wiki page.

It was originally created by Sergey Chernyshev for TechPresentations.org.

To insert this widget, use the following code:

{{#widget:Google Video
|docid=-4567104036778249401
|width=400
|height=326
}}

Width and hight are optional, 400x326 is a default, "docid" is a docid parameter in the URL.