Embedding YouTube Videos in AB Wiki

It is possible embed YouTube videos and videos from other popular video sharing sites in Audiobus Wiki pages. This tutorial demonstrates how to do it.

We recommend (as you will see below), using the “?small” size parameter which ensures that the thumbnails are sized right on mobile devices. There are other size options which you can read about on ht vshare dokuwiki plugin page

Steps

This tutorial's steps are for YouTube, but the same basic principle applies for Vimeo and other supported video sites.  

  

There are a number of ways to get a YouTube link. If you are on YouTube watching a video, you can grab the URL from your browser's location bar. If you are watching an embedded YouTube video, you can click on its share icon. You can also copy the URL of a link to a YouTube video.

If you already have a link, move on to Step 2. If you know how to get the link, grab it and move on to Step 2.

The steps for extracting the YouTube URL for an embedded varies depending on the browser you are using and the OS.

On iOS Safari:

On MacOS Safari:

  

YouTube links come in two flavors. How you proceed depends on what form the YouTube link is in.

  

Using the vshare toolbar icon

If your link is in the format watch?v format (shown below), you can use the toolbar to embed the video.

https://www.youtube.com/watch?v=0iMFZXvCsZQ&feature=share

   You can also create an embed manually: To do this,carefully copy the video id which is the series of characters between “v=” and “&” and follow the instructions below. Do not include the “&” character.

  

Get the ID (or convert the URL)

If your link is not in the watch?v format, you can

  

If you prefer to use the vshare toolbar icon: you can convert the style of link that you have to the watch?v form. To do this:

  • Paste the link you have into your browser to visit the video on YouTube.
  • Once the video loads, copy the URL from your browser's location bar.
  • You should now have a URL in the watch?v form and can use the directions in the previous section.

To create the embed manually, copy the video id from the YouTube URL and proceed to the next step.The video ID is shown in bold in the example above. It is all the characters between “.be/” and “?”

https://youtu.be/0iMFZXvCsZQ?list=PLTnh-zr9cXzC6Tru8ApCZVGnjKhPDAkNE

  

STEP 3: Creating an Embed Manually

Here is an example of a properly set up video embed. The code used is:

{{youtube>0iMFZXvCsZQ?small|App Overview}}

If Something Goes Wrong

If you get the video ID wrong or if you have extra characters (such as a space before the ID), you may see something like the following. The most common problem is a space character between the “>” and the first character of the videoID because pasting usually adds a space at the beginning.