Skip to content

Instantly share code, notes, and snippets.

@reidelliott
Created October 11, 2017 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reidelliott/528b5e9cf16090856ab8ea2807af5d5d to your computer and use it in GitHub Desktop.
Save reidelliott/528b5e9cf16090856ab8ea2807af5d5d to your computer and use it in GitHub Desktop.
Bootstrap 4 16x9 Embed
<div class="embed-responsive embed-responsive-16by9 my-4">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
@reidelliott
Copy link
Author

Just replace the zpOULjyy-n8 with the unique share id of the video.
The ?rel=0 says to not show related videos after the video has played to the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment