CubeCart Bot Posted February 6, 2018 Share Posted February 6, 2018 Name: Display YouTube Videos Price: $25.00 $15.00 Category: Plugins Homepage: https://www.cubecart.com/extensions/plugins/display-youtube-videos Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted May 23, 2019 Share Posted May 23, 2019 In order to make the YouTube videos responsive you need to add the following CSS. div[id^='ytplayer_'] { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } div[id^='ytplayer_'] iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.