Skip to content

Instantly share code, notes, and snippets.

@zoetrope69
Last active January 28, 2020 14:41
Show Gist options
  • Save zoetrope69/98fc238626b9ffcda7da4638398ec60a to your computer and use it in GitHub Desktop.
Save zoetrope69/98fc238626b9ffcda7da4638398ec60a to your computer and use it in GitHub Desktop.
YouTube Embed Config iFrame Example
<iframe
width="560"
height="315"
src='https://www.youtube.com/embed/Yb7jFafo3x4?embed_config={"primaryThemeColor":"#FF0000","relatedChannels":["UCCpY-hecoW6hn3Gx7wpVyRw","UCWJ2lWNubArHWmf3FIHbfcQ"],"relatedVideos":["FXLk2rCG1yg","Yb7jFafo3x4"],"autonav":true,"disableRelatedVideos":true}'
frameborder="0"
allow="autoplay; encrypted-media"
allowfullscreen
>
</iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment