ePublishing Knowledge BaseePublishing Knowledge BaseePublishing Knowledge Base Common Responsive Design QuestionsI need to add a YouTube / Vimeo / iFrame code to my article. When I do, it breaks the article. How do I fix this?

I need to add a YouTube / Vimeo / iFrame code to my article. When I do, it breaks the article. How do I fix this?

Within your article or other content, wrap the embed code from YouTube, Vimeo or other website with the following DIV tag: <div class="video-embed-container">PASTE YOUR EMBED CODE HERE</div>

If the CSS indicated above (video-embed-container) is not yet available on your website, update your CSS file with the following code snippet:

.video-embed-container {

 position: relative;

 padding-bottom: 56.25%;

 padding-top: 35px;

 height: 0;

 overflow: hidden;

}