Alıntı
<?PHP
$id = $_GET["id"];
$icerik = file_get_contents("http://www.youtube.com/api2_rest?method=youtube.videos.get_details&dev_id=DEVOLOPERID&video_id=$id");
$resim = explode("<thumbnail_url>",$icerik);
$resim = explode("</thumbnail_url>",$resim[1]);
$adi = explode("<title>",$icerik);
$adi = explode("</title>",$adi[1]);
$uzunluk = explode("<length_seconds>",$icerik);
$uzunluk = explode("</length_seconds>",$uzunluk[1]);
echo "<b>".$adi[0]."</b><br>";
echo "<img src='".$resim[0]."'><br>";
echo "Uzunluk = ". $uzunluk[0] ." saniye<br>";
echo "<object width=\"425\" height=\"350\"><param name=\"movie\" value=\"http://www.youtube.com/v/$id\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.youtube.com/v/$id\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"350\"></embed></object>";
?>
tyranid
https://www.r10.net/php/33652-php-you...leri-alma.html
arkadaş yukarıda video bilgilerini anlatmış bende benzer videoları almak istyorum
<?PHP
$icerik = file_get_contents("http://www.youtube.com/api2_rest?method=youtube.videos.list_by_tag&dev_id=DEVOLOPERID&tag=$title");
$resim = explode("<thumbnail_url>",$icerik);
$resim = explode("</thumbnail_url>",$resim[1]);
$adi = explode("<title>",$icerik);
$adi = explode("</title>",$adi[1]);
$uzunluk = explode("<id>",$icerik);
$uzunluk = explode("</id>",$uzunluk[1]);
buraya kadar yaptım gerisini yapamadsım videolarının resimlerini alıp resimlere video idleri ile link vermek istiyorum
?>title benim videolarımın başlığı ona benzer videoları cekmek istiyorum
Hayvan Sevgisi
adresinde benzer videoların bilgileri var örneğin..