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

De dieudo.fr
Aller à la navigation Aller à la recherche
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 4 : Ligne 4 :
* tube='''[https://tube.aquilenet.fr/ tube.aquilenet.fr]''' by default
* 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:560
* width='''Width-of-the-video''' default:640
* height='''Height-of-the-video''' default:315
* height='''Height-of-the-video''' default:360


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]
Ligne 15 : Ligne 15 :
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.
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]]
[[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>
</noinclude><includeonly><iframe width="<!--{$width|default:640|escape:'html'}-->" height="<!--{$height|default:360|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>

Version actuelle datée du 12 mars 2024 à 11:05

This widget allows you to embed PeerTube video on your wiki page.

  • tube=tube.aquilenet.fr by default
  • id=The-ID-of-the-video
  • width=Width-of-the-video default:640
  • height=Height-of-the-video default:360

Created by dieudo, inspired by Sergey Chernyshev

Using this widget

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

Copy to your site

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