I want to get the v=id from YouTube’s URL with JavaScript (no jQuery, pure JavaScript).
v=id
http://www.youtube.c
Well, the way to do it with simple parsing would be: get everything starting after the first = sign to the first & sign.
I think they had a similiar answer here:
Parsing a Vimeo ID using JavaScript?