Difference between revisions of "Vimeo"
From Projects
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[http://www.vimeo.com/ Vimeo]''' on your wiki page. Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev...") |
|||
Line 10: | Line 10: | ||
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. | 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. | ||
</noinclude><includeonly><iframe allowfullscreen="" frameborder="0" height="<!--{$height|default:300|escape:'html'}-->" src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&byline=0&portrait=0" webkitallowfullscreen="" width="<!--{$width|default:400|escape:'html'}-->"></iframe></includeonly> | </noinclude><includeonly><iframe allowfullscreen="" frameborder="0" height="<!--{$height|default:300|escape:'html'}-->" src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&byline=0&portrait=0" webkitallowfullscreen="" width="<!--{$width|default:400|escape:'html'}-->"></iframe></includeonly> | ||
+ | |||
+ | |||
+ | {{Widget | ||
+ | |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. | ||
+ | |||
+ | To insert this widget, use the following code: | ||
+ | |||
+ | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=8758454}}</nowiki> | ||
+ | |||
+ | == Parameters == | ||
+ | * '''id''' - numeric video id from the URL | ||
+ | * '''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:10, 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 Vimeo article.
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