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

I need to add a iFrame code to my article or page manager page. When I do, it breaks the article. How do I fix this?

Within your article or other content, wrap the iFrame with the following DIV tag: <div class="video-embed-container">PASTE YOUR iFRAME 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;

}

0 Comments

Add your comment

E-Mail me when someone replies to this comment