Extension:YouTube/fr
YouTube État de la version : stable |
|
---|---|
Implémentation | Balise , Média |
Description | Allows to embed YouTube and Google Videos movies, Archive.org audio and video, WeGame and Gametrailers video, Tangler forum, and GoGreenTube video |
Auteur(s) | Przemek Piotrowski |
MediaWiki | |
Modifie la base de données |
Non |
Licence | Licence publique générale GNU v2.0 ou supérieur |
Téléchargement | |
Exemple | Any ShoutWiki site |
Téléchargements trimestriels | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Utilisé par les wikis publics | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Traduire l’extension YouTube sur translatewiki.net si elle y est disponible | |
Rôle Vagrant | youtube |
The YouTube extension allows users to embed YouTube and Google Videos movies, Archive.org audio and video, WeGame and Gametrailers video, Tangler forum, and GoGreenTube video.
Fait au départ par et pour Fandom , bien que Fandom n'utilise plus cette extension vidéo.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/YouTube/fr</tvar>|Download]] and move the extracted <tvar name=name>
YouTube/fr
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YouTube%2Ffr - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'YouTube/fr' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Utilisation
To embed a YouTube video:
<youtube>foo</youtube>
where foo
is the video ID from the URL. i.e. if the video's URL is https://www.youtube.com/watch?v=VyBSS48E4xI, then the embed code would be:
Autres services vidéo pris en charge
See ShoutWiki's help page on using the YouTube extension for more information, such as using alternate, non-YouTube providers to embed content.
The YouTube extension allows also to embed videos from these services:
Google Videos | <gvideo>
|
Archive.org video | <aovideo>
|
WeGame | <wegame>
|
Tangler forum | <tangler>
|
Gametrailers | <gtrailer>
|
Nicovideo | <nicovideo>
|
GoGreenTube | <ggtube>
|
Définir la largeur et la hauteur
Example:
You can change the width and height of the video box
- Width is controlled with
width="xxx"
, wherexxx
is the number of pixels.
The default is 640 pixels.
- Height is controlled in the same way with
height="xxx"
.
The default is 385 pixels.
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
- Pages with script errors
- Pages with broken file links
- Stable extensions/fr
- Tag extensions/fr
- Media handling extensions/fr
- Extensions without MediaWiki version
- GPL licensed extensions/fr
- Extensions in Wikimedia version control/fr
- ParserFirstCallInit extensions/fr
- All extensions/fr
- Extensions not in ExtensionJson
- YouTube extensions/fr
- Video player extensions/fr
- Extensions by Fandom/fr