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>... »)
 
 
(Une révision intermédiaire par le même utilisateur non affichée)
Ligne 4 : Ligne 4 :
 
== Using this widget ==
 
== Using this widget ==
  
<nowiki>{{#widget:Vimeo|123123}}</nowiki>
+
<nowiki>{{#widget:Vimeo|id=123123}}</nowiki>
  
  
 
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/<!--{$id}-->?color=ec008c&title=1&byline=1&portrait=1" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></includeonly>

Version actuelle datée du 18 juillet 2019 à 13:56

This widget allows you to embed videos from Vimeo.

Using this widget

{{#widget:Vimeo|id=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.