I hereby claim:
- I am hungba124 on github.
- I am hungba124 (https://keybase.io/hungba124) on keybase.
- I have a public key ASDilDwIa8RzsHeHDahc303vDaIHaRKsJiDHDA8ha8LhMwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Get YouTube ID from various YouTube URL | |
* @author: takien | |
* @url: http://takien.com | |
* For PHP YouTube parser, go here http://takien.com/864 | |
*/ | |
function YouTubeGetID(url){ | |
var ID = ''; | |
url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/); |