Shero Support

How can we help?

Follow

Embedding a Youtube Video

1. Navigate to the Youtube video you want to embed.

2. Underneath the video and username click on "Share"

3. You'll see, "Share", "Embed", and "Email". Click on "Embed".

4. You will see a line of code that looks like this:

<iframe width="560" height="315" src="https://www.youtube.com/embed/youtubevideourl" frameborder="0" allowfullscreen></iframe>

5. Copy this code and open the CMS page or block you want to add the video to.

6. Paste the iframe code that you copied in the CMS page or block, and save.

 

To make the video responsive:

All you need to do is add 100% to the width:

<iframe width="100%" height="315" src="https://www.youtube.com/embed/youtubevideourl" frameborder="0" allowfullscreen></iframe>

Comments