author = $entry->author->name; $obj->authorURL = $entry->author->uri; // get nodes in media: namespace for media information $media = $entry->children('http://search.yahoo.com/mrss/'); $obj->title = $media->group->title; $obj->description = $media->group->description; // get video player URL $attrs = $media->group->player->attributes(); $obj->watchURL = $attrs['url']; // get video thumbnail $attrs = $media->group->thumbnail[0]->attributes(); $obj->thumbnailURL = $attrs['url']; // get node for video length $yt = $media->children('http://gdata.youtube.com/schemas/2007'); $attrs = $yt->duration->attributes(); $obj->length = $attrs['seconds']; // get node for viewer statistics $yt = $entry->children('http://gdata.youtube.com/schemas/2007'); $attrs = $yt->statistics->attributes(); $obj->viewCount = $attrs['viewCount']; // get node for video ratings $gd = $entry->children('http://schemas.google.com/g/2005'); if ($gd->rating) { $attrs = $gd->rating->attributes(); $obj->rating = $attrs['average']; } else { $obj->rating = 0; } // get node for video comments $gd = $entry->children('http://schemas.google.com/g/2005'); if ($gd->comments->feedLink) { $attrs = $gd->comments->feedLink->attributes(); $obj->commentsURL = $attrs['href']; $obj->commentsCount = $attrs['countHint']; } // get feed URL for video responses $entry->registerXPathNamespace('feed', 'http://www.w3.org/2005/Atom'); $nodeset = $entry->xpath("feed:link[@rel='http://gdata.youtube.com/schemas/2007#video.responses']"); if (count($nodeset) > 0) { $obj->responsesURL = $nodeset[0]['href']; } // get feed URL for related videos $entry->registerXPathNamespace('feed', 'http://www.w3.org/2005/Atom'); $nodeset = $entry->xpath("feed:link[@rel='http://gdata.youtube.com/schemas/2007#video.related']"); if (count($nodeset) > 0) { $obj->relatedURL = $nodeset[0]['href']; } // return object to caller return $obj; } $feedURL = 'http://gdata.youtube.com/feeds/api/videos/' . $vid; // read feed into SimpleXML object $entry = simplexml_load_file($feedURL); $video = parseVideoEntry($entry); $videourl = $video->watchURL; preg_match('@\=(.*?)\&@', $videourl, $urlm); $videourl = $urlm["1"]; $videoresmi = $video->thumbnailURL; $videobaslik = $video->title; $videobaslik = iconv('utf-8', 'ISO-8859-9', $videobaslik); $videosure = sprintf("%0.2f", $video->length / 60); $videoaciklama = $video->description; $videoaciklama = iconv('utf-8', 'ISO-8859-9', $videoaciklama); $tarih = date("m.d.y-H:i:s"); $seo = seola($videobaslik).'/'.$vid.""; mysql_query("insert into webvideo (seo,baslik,vid,resim,sure,tarih) values ('$seo','$videobaslik','$videourl','$videoresmi','$videosure','$tarih') "); } else { } $videobul = solcek("select * from webvideo where vid='$vid'"); $va = solarray($videobul); $vtitle = $va['baslik']; $vi = $va['id']; $kal = $va['kat']; $katlimi = solcek("select * from kat where tr='$kal'"); $katli = solarray($katlimi); $ktitle = $katli['title']; solcek("UPDATE webvideo SET izlenme = izlenme + 1 WHERE seo = '$vid'"); $yap = array("{\$siteadi}", "{\$videoadi}", "{\$kategoriadi}"); $yapan = array(ayarcek("Title"), "$vtitle", "$ktitle"); $baslik = str_replace($yap, $yapan, ayarcek("vseotitle")); $keyword = str_replace($yap, $yapan, ayarcek("vseokeyword")); $desc = $vtitle . " izle $vtitle müzik dinle, $vtitle video seyret, $vtitle indir, $vtitle müzik yükle, forensies.com " . ayarcek("Title"); include 'ust.php'; ?>
videosunu izliyorsunuz
'; } ?>
This text will be replaced


Lütfen Bekleyiniz Video Yükleniyor....

Video Adı :

Video Süre :

Video Açıklaması : video izle videoları, , Hd kalitesinde, siteye eklemiştir forensies iyi seyirler diler,

Video Eklenme Tarihi :

Yorum Tarihi :

Bu videoyu beğendiyseniz yorum yazmayı unutmayın !.

Alakalı Videolar
function parseVideoEntry2($entry) { $obj= new stdClass; // get author name and feed URL $obj->author = $entry->author->name; $obj->authorURL = $entry->author->uri; // get nodes in media: namespace for media information $media = $entry->children('http://search.yahoo.com/mrss/'); $obj->title = $media->group->title; $obj->description = $media->group->description; // get video player URL $attrs = $media->group->player->attributes(); $obj->watchURL = $attrs['url']; // get video thumbnail $attrs = $media->group->thumbnail[0]->attributes(); $obj->thumbnailURL = $attrs['url']; // get node for video length $yt = $media->children('http://gdata.youtube.com/schemas/2007'); $attrs = $yt->duration->attributes(); $obj->length = $attrs['seconds']; // get node for viewer statistics $yt = $entry->children('http://gdata.youtube.com/schemas/2007'); $attrs = $yt->statistics->attributes(); $obj->viewCount = $attrs['viewCount']; // get node for video ratings $gd = $entry->children('http://schemas.google.com/g/2005'); if ($gd->rating) { $attrs = $gd->rating->attributes(); $obj->rating = $attrs['average']; } else { $obj->rating = 0; } // get node for video comments $gd = $entry->children('http://schemas.google.com/g/2005'); if ($gd->comments->feedLink) { $attrs = $gd->comments->feedLink->attributes(); $obj->commentsURL = $attrs['href']; $obj->commentsCount = $attrs['countHint']; } // get feed URL for video responses $entry->registerXPathNamespace('feed', 'http://www.w3.org/2005/Atom'); $nodeset = $entry->xpath("feed:link[@rel='http://gdata.youtube.com/schemas/2007#video.responses']"); if (count($nodeset) > 0) { $obj->responsesURL = $nodeset[0]['href']; } // get feed URL for related videos $entry->registerXPathNamespace('feed', 'http://www.w3.org/2005/Atom'); $nodeset = $entry->xpath("feed:link[@rel='http://gdata.youtube.com/schemas/2007#video.related']"); if (count($nodeset) > 0) { $obj->relatedURL = $nodeset[0]['href']; } // return object to caller return $obj; } // set video data feed URL $feedURL = 'http://gdata.youtube.com/feeds/api/videos/' . $vid; // read feed into SimpleXML object $entry = simplexml_load_file($feedURL); // parse video entry $video = parseVideoEntry2($entry); // display main video record // read 'author profile feed' into SimpleXML object // parse and display author bio $authorFeed = simplexml_load_file($video->authorURL); // read 'video comments' feed into SimpleXML object // parse and display each comment // read 'video responses' feed into SimpleXML object // parse and display each video entry // read 'related videos' feed into SimpleXML object // parse and display each video entry if ($video->relatedURL) { $relatedFeed = simplexml_load_file($video->relatedURL); foreach ($relatedFeed->entry as $related) { $relatedVideo = parseVideoEntry2($related); $baslik = $relatedVideo->title; $resim =$relatedVideo->thumbnailURL; $sure = sprintf("%0.2f", $relatedVideo->length/60); preg_match('@http://i.ytimg.com/vi/(.*?)/0.jpg@',$resim,$id); $id = $id["1"]; ?>

<?= $sea['baslik'] ?>

Süre :

Etiketler