Youtube iframes are fixed size
-
On the news page of our dev site at: https://www.thecollaborative-demo.com/media/pace-in-the-news/ when we view the page in a narrow browser the Youtube images appear to have a max-width that is smaller than when we don’t have a3 lazy load active. When we don’t have a3 lazy load active the Youtube iframe images track the width of the browser. Maybe there is a max-width imposed by a3 lazy load?
Note: This is the iframe code for one of the Youtube videos on our page:
<iframe title="PACE Services PSA" src="https://www.youtube.com/embed/4H22ofKXKYk?list=PL0_qrIvQZ4PkpKG4eOxjXiyf_3pHQe4Kn?rel=0&wmode=transparent" allowfullscreen="allowfullscreen"></iframe>
Can you suggest any update in CSS or otherwise to restore the responsive nature of the Youtube iframes?
- The topic ‘Youtube iframes are fixed size’ is closed to new replies.