Skip to main content

MyCoE

Video

We're only able to embed videos hosted on 3rd party websites, such as YouTube.

Code

The following code is for embedding videos that have a 16:9 aspect ratio. If your video has a different aspect ratio, replace embed-responsive-16by9 with embed-responsive-4by3, embed-responsive-21by9 or embed-responsive-1by1 respectively.

Add &rel=0 at the end of the YouTube video URL helps prevent YouTube's suggested videos from showing up at the end.

<div class="embed-responsive embed-responsive-16by9">
    	<iframe allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" class="embed-responsive-item" frameborder="0" title="YouTube video" src="video-url&rel=0"></iframe>
    </div>