Difference between revisions of "Widget:Vimeo"

From Media Design: Networked & Lens-Based wiki
Jump to navigation Jump to search
(Created page with "This widget allows you to add [http://www.vimeo.com/ Vimeo video] to your wiki page. To insert this widget, use the following code: <nowiki>{{#widget:</nowiki>{{PAGENAME}}<now...")
 
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
This widget allows you to add [http://www.vimeo.com/ Vimeo video] to your wiki page.
+
<noinclude>__NOTOC__
 +
This widget allows you to embed '''[http://www.vimeo.com/ Vimeo]''' on 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=3579013}}</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 ==
+
<nowiki>{{#widget:Vimeo|id=8758454}}</nowiki> will result in the player for the vimeo video with id:8758454
* '''id''' - numeric video id from the URL
 
* '''width''' and '''height''' define view dimensions, 400x300 is default
 
  
== Sample result ==
+
{{#widget:Vimeo|id=8758454}}
{{#widget:{{PAGENAME}}|id=3579013}}
+
 
{{Widget
+
 
|author=Sergey Chernyshev
+
== Copy to your site ==
|provider=Vimeo
+
To use this widget on your site, just install [https://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.
|providerurl=http://www.vimeo.com/
+
</noinclude><includeonly><iframe allowfullscreen="" frameborder="0" height="<!--{$height|default:375|escape:'html'}-->" src="https://player.vimeo.com/video/<!--{$id}-->" mozallowfullscreen webkitallowfullscreen width="<!--{$width|default:500|escape:'html'}-->"></iframe></includeonly>
|addedon=now
 
}}
 

Latest revision as of 14:18, 21 November 2016

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.

{{#widget:Vimeo|id=8758454}} will result in the player for the vimeo video with id:8758454


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.