Created
October 28, 2016 18:15
-
-
Save 33sticks/c8bbb612d432692f11cc5af71368010d to your computer and use it in GitHub Desktop.
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
/* Loads IFrame Player API Code asynchronously */ | |
var tag = document.createElement('script'); | |
tag.src = "https://www.youtube.com/iframe_api"; | |
var firstScriptTag = document.getElementsByTagName('script')[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment