Last active
August 22, 2020 10:20
-
-
Save charlesroper/5f25b7e1b098eb3bfd271475055f7210 to your computer and use it in GitHub Desktop.
Responsive YouTube 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
<!-- | |
- Replace the standard youtube.com domain with youtube-nocookie.com for enhanced performance and privacy | |
- Add ?rel=0 to the end of the URL to remove suggested videos | |
--> | |
<div class="embed-responsive embed-responsive-16by9"> | |
<iframe src="https://www.youtube-nocookie.com/embed/djV11Xbc914?rel=0" | |
class="embed-responsive-item" | |
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" | |
allowfullscreen | |
frameborder="0"> | |
</iframe> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment