Actions

Widget

Vimeo : Différence entre versions

De erg

(Page créée avec « <noinclude>__NOTOC__ This widget allows you to embed videos from '''[http://www.vimeo.com/ Vimeo]'''. == Using this widget == <nowiki>{{#widget:Vimeo|123123}}</nowiki>... »)
 
Ligne 8 : Ligne 8 :
  
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
</noinclude><includeonly><iframe src="https://player.vimeo.com/video/{{{1}}}?color=ec008c&title=1&byline=1&portrait=1" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></includeonly>
+
</noinclude><includeonly><iframe width="<!--{$width|default:'640'|escape:'html'}-->" height="<!--{$height|default:'360'|escape:'html'}-->" src="https://player.vimeo.com/video/{{{1}}}?color=ec008c&title=1&byline=1&portrait=1" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></includeonly>

Version du 18 juillet 2019 à 12:53

This widget allows you to embed videos from Vimeo.

Using this widget

{{#widget:Vimeo|123123}}


To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Vimeo.