We recommend using Vimeo to embed videos because we have the native Vimeo video player built into our software and we've spent lots of time perfecting it and making continual adjustments when Vimeo makes changes.
If your client only provides you with a link to YouTube it may be possible to download the video from YouTube (google download YouTube video) and upload to your personal Vimeo account.
If you cannot do this you can embed the YouTube video on a text page. Here's how you do it:
1. Go to the YouTube video you want to embed
2. Click on the Share Link below the video
3. Click the Embed button
4. Copy the embed text
5. Add a text page to a menu item where you want the video to appear
6. Make sure you are in HTML mode then paste the embed text
The embed text will look like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/Gh51WYEDn4U" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Important! You need to add class="responsive" after the <iframe tag so the above looks like this
<iframe class="responsive" width="560" height="315" src="https://www.youtube.com/embed/Gh51WYEDn4U" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Done!
Comments
0 comments
Article is closed for comments.