Erweiterung:YouTube
YouTube Freigabestatus: stabil |
|
---|---|
Einbindung | Tag , Medien |
Beschreibung | Allows to embed YouTube and Google Videos movies, Archive.org audio and video, WeGame and Gametrailers video, Tangler forum, and GoGreenTube video |
Autor(en) | Przemek Piotrowski |
Letzte Version | 1.9.3 |
MediaWiki | >= 1.34.0 |
Datenbankänderungen | Nein |
Lizenz | GNU General Public License 2.0 oder neuer |
Herunterladen | |
Beispiel | Any ShoutWiki site |
|
|
Quarterly downloads | 262 (Ranked 28th) |
Public wikis using | 1,691 (Ranked 204th) |
Übersetze die YouTube-Erweiterung, wenn sie auf translatewiki.net verfügbar ist | |
Vagrant-Rolle | 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.
Originally made by and for Fandom , though Fandom no longer uses this extension.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
YouTube
im Ordnerextensions/
ablegen.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YouTube - Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
wfLoadExtension( 'YouTube' );
- Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Verwendung
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:
<youtube>VyBSS48E4xI</youtube>
Other supported video services
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>
|
Setting width and height
Beispiel:
<youtube width="200" height="120">CCz1kmfqL7g</youtube>
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.
Diese Erweiterung ist in den folgenden Softwarepaketen enthalten und/oder wird von den folgenden Wiki-Farmen, bzw. Wiki-Hostern verwendet: Dies ist keine maßgebliche Liste. Softwarepakete und/oder Wiki-Farmen, bzw. Wiki-Hoster nutzen diese Erweiterung ggf., obwohl sie nicht in dieser Liste enthalten sind. Prüfe daher stets die Nutzung im verwendeten Softwarepaket und/oder bei der Wiki-Farm, bzw. dem Wiki-Hoster. |
- Stable extensions/de
- Tag extensions/de
- Media handling extensions/de
- GPL licensed extensions/de
- Extensions in Wikimedia version control/de
- ParserFirstCallInit extensions/de
- All extensions/de
- Extensions available as Debian packages/de
- Extensions included in Miraheze/de
- Extensions included in ShoutWiki/de
- Extensions included in WikiForge/de
- YouTube extensions/de
- Video player extensions/de
- Extensions by Fandom/de