Différences entre les versions de « Widget:Peertube »

644 octets ajoutés ,  12 mai 2022 à 16:45
Annulation des modifications 4851 de Dieudo (discussion)
Balise : Révoqué
(Annulation des modifications 4851 de Dieudo (discussion))
Balise : Annulation
Ligne 1 : Ligne 1 :
<noinclude>__NOTOC__
<noinclude>__NOTOC__
This widget allows you to embed Rumble video on your wiki page.
This widget allows you to embed PeerTube video on your wiki page.


* tube='''[https://tube.aquilenet.fr/ tube.aquilenet.fr]''' by default
* id='''The-ID-of-the-video'''
* id='''The-ID-of-the-video'''
* width='''Width-of-the-video''' default:640
* width='''Width-of-the-video''' default:560
* height='''Height-of-the-video''' default:360
* height='''Height-of-the-video''' default:315


Created by dieudo, inspired by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
Created by dieudo, inspired by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]


== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Vimeo widget description page on MediaWikiWidgets.org].


</noinclude><includeonly><iframe class="rumble" width="<!--{$width|default:560|escape:'html'}-->" height="<!--{$height|default:315|escape:'html'}-->" src="https://rumble.com/embed/<!--{$id|escape:'urlpathinfo'}-->/?pub=4" frameborder="0" allowfullscreen></iframe></includeonly>
== Copy to your site ==
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.
[[Catégorie:PeerTube]]
</noinclude><includeonly><iframe width="<!--{$width|default:560|escape:'html'}-->" height="<!--{$height|default:315|escape:'html'}-->" src="https://<!--{$tube|default:'tube.aquilenet.fr'|escape:'urlpathinfo'}-->/videos/embed/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=0&amp;subtitle=fr&amp;warningTitle=0" frameborder="0" allowfullscreen></iframe></includeonly>
5 712

modifications