Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created December 7, 2018 07:10
Show Gist options
  • Save productioncoder/86949bb1a77629a74163c5fcb48349b9 to your computer and use it in GitHub Desktop.
Save productioncoder/86949bb1a77629a74163c5fcb48349b9 to your computer and use it in GitHub Desktop.
Youtube in React: URL for auto playing Youtube video
const embedUrl = `${BASE_EMBED_URL}${props.id}?autoplay=1`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment