Created
June 11, 2013 17:46
-
-
Save rogerwalt/5759050 to your computer and use it in GitHub Desktop.
Simple one-liner to parse out the URL of the video file on StreamCloud.
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
window.location.href = document.getElementsByName("flashvars")[0].value.split("&file=")[1].split("&")[0].replace(/%3A/g, ":").replace(/%2F/g, "/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment