Page history Edit this page How do I edit this website?

Videos

The video include allows you to embed video onto a page.

YouTube

{% include video platform="youtube" id="GVHaSQ_O6IE" aspect="1:1" %}

Above, we set the aspect ratio to 1:1 because the video is square; this parameter is optional though, with the default being 4:3 at 400 x 300.

YouTube playlists

The video include automatically detects when you pass a YouTube playlist ID (they always start with PL), and embeds the playlist accordingly.

{% include video platform="youtube" id="PLh7mLbGrvbzkQXGYPuyOpMiFT7pEUsYsf" %}

Vimeo

{% include video platform="vimeo" id="140929687" aspect="16:9" width=500 %}

We use the width parameter to make the above video from Vimeo a bit wider than the default of 400.

SWITCHtube

{% include video platform="switchtube" id="98578061" aspect="16:9" height=281 %}

We override this SWITCHtube video’s height to be a specific value. This is useful if you need to align a series of videos in a row.

{% include video src="https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4" %}