Support
Embed a YouTube Video on the Homepage
Code Snippet to add a YouTube Video to a website’s Homepage
A YouTube video can be embedded at the top of the homepage using the custom HTML area on the Homepage Customization page of eSAT. This HTML area is available for all layouts except lineup, feature, and immersion.
The code below allows the video to be responsive and fills up the page in the top half of the site. You just need to update the highlighted part of the code with the ID of the YouTube video you want to embed. You can get the ID from the URL in the address bar.
<style><!--
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 95%; height: 95%; }
--></style>
<center>
<div class="embed-container"><iframe src="https://www.youtube.com/embed/Dq4m3GljmEY" frameborder="0" allowfullscreen=""></iframe></div></center>

Did this answer your question?
😞
😐
🤩
How can we improve this article?
