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

De dieudo.fr
Aller à la navigation Aller à la recherche
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<noinclude>__NOTOC__
<noinclude>__NOTOC__
This widget allows you to embed '''[https://peertube.social/ peertube.social]''' 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'''
* width='''Width-of-the-video''' default:640
* 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 10 : 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://peertube.social/videos/embed/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=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 à 12: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.