Difference between revisions of "Widget:Google Video"

From Monoskop
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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Video Widget]]
+
<noinclude>
 
This widget allows you to add [http://video.google.com/ Google Video] player to your wiki page.
 
This widget allows you to add [http://video.google.com/ Google Video] player to your wiki page.
  
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 13:04, 16 November 2011

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.