Return to Snippet

Revision: 39180
at January 14, 2011 05:49 by dan_hoerr

Initial Code
parse_str(parse_url($embedurl,PHP_URL_QUERY), $out);
echo $out['v']; // return ID of video

Initial URL

Initial Description
taken from comments at above URL

Initial Title
getting video ID attribute from youTube url with php

Initial Tags
url, php, video

Initial Language