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...")
 
Line 14: Line 14:
 
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 ==
 
== Sample result ==
 
{{#widget:{{PAGENAME}}|docid=-4567104036778249401}}
 
{{#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>
 
</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>

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.

Sample result

This widget allows you to add [http://video.google.com/ Google Video] player to your wiki page. It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.techpresentations.org TechPresentations.org]. To insert this widget, use the following code: {{#widget:{{PAGENAME}} |docid=-4567104036778249401 |width=400 |height=326 }} Width and hight are optional, 400x326 is a default, "docid" is a docid parameter in the URL.