Difference between revisions of "Widget:Vimeo"

From Second Life Wiki
Jump to navigation Jump to search
(New page: <noinclude>Category:Video Widget This widget allows you to add [http://www.vimeo.com/ Vimeo] video player to your wiki page. It was created by [[mediawikiwiki:User:Sergey Chernyshev|S...)
 
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Video Widget]]
<noinclude>__NOTOC__
This widget allows you to add [http://www.vimeo.com/ Vimeo] video player to your wiki page.
This widget allows you to embed '''[http://www.vimeo.com/ Vimeo]''' on your wiki page.


It was created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]].
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]


To insert this widget, use the following code:
== Using this widget ==
On this wiki, [[Style_guide#Videos|see the Style Guide]].


<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
For general information on how to use this widget, see [http://www.mediawikiwidgets.org/Vimeo widget description page on MediaWikiWidgets.org].
|id=737993
|width=400
|height=300
}}</nowiki>


Width and hight are optional, 400x300 is a default, "id" is a number in the video page URL.
== Example ==
<pre><nowiki>{{#widget:Vimeo|id=3579013}}</nowiki></pre>


{{Template:Copy to your site}}
Gives this:
== Sample result ==
 
{{#widget:{{PAGENAME}}|id=737993}}
{{#widget:Vimeo|id=3579013}}
</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>
 
</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>

Latest revision as of 15:29, 15 February 2011

This widget allows you to embed Vimeo on your wiki page.

Created by Sergey Chernyshev

Using this widget

On this wiki, see the Style Guide.

For general information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Example

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

Gives this: