Kapitel 4: Videos

In diesem Kapitel wird (in englischer Sprache) erklärt, wie Ihr Videos aus unterschiedlichen Plattformen in Eure Wiki-Artikel hinzufügen könnt, am Beispiel der Plattform YouTube.

Embedding videos into your Wiki-Article

Most of the video platforms like YouTube allow embedding videos into web pages using HTML code. Don't panic, it's all about copying and pasting: Copying the Embedding-Code of a video and pasting it into an HTML-block in your article. Below is the description for YouTube, which should work for other platforms too.

Embedding videos from YouTube

  1. Click the „Share“-Button below the playing video.
  2. In the popped up window choose „Embed“.
  3. A second window appears, where you can choose some settings and copy the HTML-Code / Embedding-Code. See picture on the right for more detail.
  4. Paste the copied HTML-Code in a HTML-block in your wiki article, like so
<html> 
HTML-Code from YouTube here
</html>

The Embedding-Code for the video below looks as following and will vary a bit depending on video platform and chosen settings:

<iframe width="560" height="315" src="https://www.youtube.com/embed/kiyi-C7NQrQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

To center the video horizontally in your article, just paste the Embedding-Code like this

<html>
<div align="center">
Your HTML-Code from YouTube here
</div>
</html>

The result looks as follows (a video describing how to get the HTML-Code of a YouTube video in detail):

benutzung/chapter/chap04.txt · Zuletzt geändert: 28.01.2019 21:47 von Rustam Galljamov
GNU Free Documentation License 1.3
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0