Widget:Vimeo

From FDT Documentation

(Difference between revisions)
Jump to: navigation, search
(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 Se...")
 
(One intermediate revision not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
-
This widget allows you to embed '''[http://www.vimeo.com/ Vimeo]''' on your wiki page.
+
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=3579013}}</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><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>
+
* '''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'}-->&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=<!--{$id|escape:'urlpathinfo'}-->&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&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>

Latest revision as of 11:19, 19 September 2010

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

To insert this widget, use the following code:

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

Parameters

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


Get FDT5