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);
print_r($out);
echo $out['v']; // return ID of video

Initial URL
http://www.scottklarr.com/topic/415/how-to-grab-thumbnails-for-youtube-and-google-video/

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
PHP