This code snippet gets all information from a YouTube video (title, description, duration, thumbnail url, thumbnail width, thumbnail height, etc..) using the video id and YouTube API. (Sorry about my bad english)
Advertisement
Categories
This code snippet gets all information from a YouTube video (title, description, duration, thumbnail url, thumbnail width, thumbnail height, etc..) using the video id and YouTube API. (Sorry about my bad english)
// Adjust Volume on FLV Video
Return the YouTube video ID. function _get_video_id( $url ) { if( preg_match( ‘/http:\/\/youtu.be/’, $url, $matches) ) { $url = parse_url($url, PHP_URL_PATH); $url = [...]