A Pen by Bright Sparks on CodePen.
Created
September 8, 2022 14:27
-
-
Save bright-spark/e37d874b78abd217c45610af08ebc9e5 to your computer and use it in GitHub Desktop.
YouTube No Cookie Permissive Embed
This file contains hidden or 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/?list=PLuWIxgNYqm0lJH4UKIFrZnyfjpnRGsxdr&listType=playlist&modestbranding=1&playsinline=1&color=red&iv_load_policy=3" frameborder="0" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; geolocation" loading="eager"> |
This file contains hidden or 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