Created
December 7, 2018 07:10
-
-
Save productioncoder/86949bb1a77629a74163c5fcb48349b9 to your computer and use it in GitHub Desktop.
Youtube in React: URL for auto playing Youtube video
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
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