Difference between revisions of "Widget:Vimeo"

From Projects
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Widget
+
<noinclude>__NOTOC__
|author=Sergey Chernyshev
+
This widget allows you to embed '''[http://www.vimeo.com/ Vimeo]''' on your wiki page.
|provider=Vimeo
+
|providerurl=http://www.vimeo.com/
+
|addedon=March 16, 2009
+
}}
+
This widget allows you to add [http://www.vimeo.com/ Vimeo video] to your wiki page.
+
  
To insert this widget, use the following code:
+
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
  
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=8758454}}</nowiki>
+
== Using this widget ==
 +
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Vimeo widget description page on MediaWikiWidgets.org].
  
== Parameters ==
+
== Copy to your site ==
* '''id''' - numeric video id from the URL
+
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
* '''width''' and '''height''' define view dimensions, 400x300 is default
+
</noinclude><includeonly><iframe allowfullscreen="" frameborder="0" height="<!--{$height|default:300|escape:'html'}-->" src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=0" webkitallowfullscreen="" width="<!--{$width|default:400|escape:'html'}-->"></iframe></includeonly>
 
+
== Sample result ==
+
[http://vimeo.com/8758454 Mediawiki project history (Gource Vizualization)]
+
 
+
{{#widget:{{PAGENAME}}|id=8758454|width=600|height=600}}
+

Latest revision as of 17:01, 29 August 2014

This widget allows you to embed Vimeo on your wiki page.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Vimeo article.