Widget:Vimeo: Difference between revisions

From XPUB & Lens-Based wiki
(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...")
 
No edit summary
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 ==
== 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><object width="<!--{$width|default:400|escape:'html'}-->" height="<!--{$height|default:300|escape:'html'}-->"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=<!--{$id|escape:'urlpathinfo'}-->&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=<!--{$id|escape:'urlpathinfo'}-->&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="<!--{$width|default:400|escape:'html'}-->" height="<!--{$height|default:300|escape:'html'}-->"></embed></object></includeonly>
 
== Sample result ==
{{#widget:{{PAGENAME}}|id=3579013}}
{{Widget
|author=Sergey Chernyshev
|provider=Vimeo
|providerurl=http://www.vimeo.com/
|addedon=now
}}

Revision as of 20:12, 7 October 2010

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.