Difference between revisions of "Widget:Vimeo"

From iPi Docs
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...")
 
m
 
Line 13: Line 13:
 
* '''width''' and '''height''' define view dimensions, 800x600 is default
 
* '''width''' and '''height''' define view dimensions, 800x600 is default
  
</noinclude><includeonly><iframe allowfullscreen="" frameborder="0" height="<!--{$height|default:600|escape:'html'}-->" src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=0" webkitallowfullscreen="" width="<!--{$width|default:400|escape:'html'}-->"></iframe></includeonly>
+
</noinclude><includeonly><iframe allowfullscreen="" frameborder="0" height="<!--{$height|default:600|escape:'html'}-->" src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=0" webkitallowfullscreen="" width="<!--{$width|default:800|escape:'html'}-->"></iframe></includeonly>

Latest revision as of 13:03, 2 October 2014

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

Created by Sergey Chernyshev

Using this widget

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, 800x600 is default