Difference between revisions of "Vimeo"

From Projects
Jump to: navigation, search
Line 1: Line 1:
<noinclude>__NOTOC__
+
{{Widget
This widget allows you to embed '''[http://www.vimeo.com/ Vimeo]''' on your wiki page.
+
|author=Sergey Chernyshev
 +
|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.
  
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
+
To insert this widget, use the following code:
  
== Using this widget ==
+
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=8758454}}</nowiki>
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Vimeo widget description page on MediaWikiWidgets.org].
+
  
== Copy to your site ==
+
== Parameters ==
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.
+
* '''id''' - numeric video id from the URL
</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>
+
* '''width''' and '''height''' define view dimensions, 400x300 is default
 +
 
 +
== Sample result ==
 +
[http://vimeo.com/8758454 Mediawiki project history (Gource Vizualization)]
 +
 
 +
{{#widget:{{PAGENAME}}|id=8758454|width=600|height=600}}
 +
{{Comments}}

Revision as of 16:14, 29 August 2014

This widget allows you to add Vimeo video to your wiki page.

To insert this widget, use the following code:

{{#widget:Vimeo|id=8758454}}

Parameters

  • id - numeric video id from the URL
  • width and height define view dimensions, 400x300 is default

Sample result

Mediawiki project history (Gource Vizualization)

Template:Comments