Youtube Oembed JSON API

<?php 
$url = "http://www.youtube.com/watch?v=CvBfHwUxHIk";//burası değişken
$oembedurlcreate = "http://www.youtube.com/oembed?url=".$url."&format=json";
$curl = curl_init($oembedurlcreate); 
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); 
$html=curl_exec($curl);
curl_close($curl);
$result = json_decode($html, true);
echo $result["thumbnail_url"]."<br>";//http://i.ytimg.com/vi/CvBfHwUxHIk/hqdefault.jpg 
echo $result["provider_url"]."<br>";//http://www.youtube.com/ 
echo $result["thumbnail_height"]."<br>";//360 
echo $result["type"]."<br>";//video 
echo $result["provider_name"]."<br>";//YouTube 
echo $result["version"]."<br>";// 1.0 
echo $result["html"]."<br>";//html5 video oynacıtıcını görüntüler  
echo $result["author_name"]."<br>";//RihannaVEVO
echo $result["width"]."<br>";//459 
echo $result["title"]."<br>";//Rihanna - Umbrella (Orange Version) ft. JAY-Z
echo $result["height"]."<br>";//344 
echo $result["thumbnail_width"]."<br>";//480 
echo $result["author_url"]."<br>";//http://www.youtube.com/user/RihannaVEVO
?>