A Pen by Bright Sparks on CodePen.
Created
September 8, 2022 14:21
-
-
Save bright-spark/d9a689b5d75bae9489bf9d638589560c to your computer and use it in GitHub Desktop.
YouTube No Cookie Embed
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
<iframe id="ytplayer" type="text/html" width="480" height="270" src="https://www.youtube-nocookie.com/embed/?listType=playlist&list=PLuWIxgNYqm0lJH4UKIFrZnyfjpnRGsxdr" frameborder="0" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; geolocation" loading="eager"> |
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
html, | |
body, | |
iframe { | |
margin: 0; | |
padding: 0; | |
height: 100%; | |
} | |
iframe { | |
display: block; | |
width: 100%; | |
border: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment