Created
June 11, 2015 18:29
-
-
Save Axfan/7769032eba83f8f21324 to your computer and use it in GitHub Desktop.
Add videos from a youtube playlist to InstaSync
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
var videoString = ""; | |
var videoIDs = videoString.split(","); | |
var v =0; | |
setInterval(function() { | |
if (v < videoIDs.length) { | |
$("#add_video_url").val("http://youtube.com/watch?v=" + videoIDs[v]); | |
$("#add_video_btn")[0].click(); | |
v++; | |
} | |
}, 250); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment