status === "ok") { die("error in fetching youtube video data"); } $videoTitle = $video_info->title; $videoAuthor = $video_info->author; $videoDurationSecs = $video_info->length_seconds; $videoDuration = secToDuration($videoDurationSecs); $videoViews = $video_info->view_count; //change hqdefault.jpg to default.jpg for downgrading the thumbnail quality $videoThumbURL = "http://i1.ytimg.com/vi/{$my_id}/hqdefault.jpg"; if (!isset($video_info->url_encoded_fmt_stream_map)) { die('No data found'); } $streamFormats = explode(",", $video_info->url_encoded_fmt_stream_map); if (isset($video_info->adaptive_fmts)) { $streamSFormats = explode(",", $video_info->adaptive_fmts); $pStreams = parseStream($streamSFormats); } $cStreams = parseStream($streamFormats); ?> YouTube Video Downloader


Video Thumbnail
Channel
Duration
Views

Video+Audio Formats

type ?>
quality ?>
size ?>

Video+Audio Formats

type ?>
quality ?>
size ?>