Created
August 9, 2020 19:46
-
-
Save AlphaBlossom/df2da268c2b54a59a00036a5bd4a31f4 to your computer and use it in GitHub Desktop.
Fix the embed issue with GrooveVideo's embed code. The ".groovevideo-widget-border-solid" class may change depending on widget settings, so make sure to get the correct class of the iframe's parent div and change if needed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* parent of iframe */ | |
.groovevideo-widget-border-solid { | |
position: relative; | |
padding: 56.25% 0 0 0; | |
margin: 0; | |
} | |
/* iframe */ | |
.groovevideo-widget-border-solid iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment