Facebook meta kodlarını embed olmaması şartına bağlamanız lazım.
Kodlarınızı bilmediğim için mantık olarak yazıyorum.
if(!$embed){
facebook kodları
}
Bu şekilde embed kodu olduğunda facebook kodu görünmez ve sayfanızın tepesinde olmaması gereken yazılar çıkmaz.
Ufak bi kod yardımı talep ediyorum
11
●1.012
- 06-10-2010, 22:54:29Kimlik doğrulama veya yönetimden onay bekliyor.izle.php deki kodlarım aşağıdaki gibidir.Levye adlı üyeden alıntı: mesajı görüntüle
<?php include("ayar.php"); $id=intval(mysql_real_escape_string($_GET['id'])); $sql = mysql_query ("select * from videolar where id='$id'"); while($cek = mysql_fetch_array($sql)){ $idx=$cek["id"]; $adi=$cek["adi"]; $link=$cek["link"]; $resim=$cek["resim"]; $hit=$cek["hit"]; $sure=$cek["sure"]; $kategori=$cek["kategori"]; } $update = "UPDATE videolar SET hit =hit+1 WHERE id = '$id'"; mysql_query($update); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $adi;?> videosu, <?php echo $adi;?> videosunu izle, <?php echo $adi;?> izle, <?php echo $adi;?> bedava izle, <?php echo $adi;?> online izle</title> <meta name="keywords" content="<?php echo $adi;?>, <?php echo $adi;?> videosu, <?php echo $adi;?> videosunu izle, <?php echo $adi;?> izle, <?php echo $adi;?> bedava izle, <?php echo $adi;?> online izle" /> <meta name="description" content="<?php echo $adi;?> videosu" /> <?php if ($kontrol=='embed') { ?> <link rel="image_src" href="<?php echo $resim; ?>"/> <link rel="video_src" href="https://mo-mastermind.s3.amazonaws.com/mediaplayer/player.swf?file=<?php echo $link; ?>&image=<?php echo $resim;?>&logo=<?php echo $domain;?>/player/videologo.gif&autostart=true&type=video"/> <meta name="video_height" content="400" /> <meta name="video_width" content="550" /> <meta name="video_type" content="application/x-shockwave-flash"/> <?php } ?> <link href="<?php echo $domain;?>/css/reset.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $domain;?>/css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="<?php echo $domain;?>/scripts/Moo.Core.js"></script> <script type="text/javascript" src="<?php echo $domain;?>/scripts/Moo.More.js"></script> <script type="text/javascript" src="<?php echo $domain;?>/scripts/menu.js"></script> <script type="text/javascript" src="<?php echo $domain;?>/scripts/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="<?php echo $domain;?>/scripts/yorum.js"></script> </head> <body> <div class="header-bg"> <div class="header"> <div class="logo"><a href="<?php echo $domain;?>"><img src="<?php echo $domain;?>/images/logo.png" width="178" height="70" alt="<?php echo $title;?>"/></a></div> <div class="ust-menu"> <div class="uye-giris"> </div> <div class="menu"> <div class="menuBG" style="width:116px;"><a href="<?php echo $domain;?>/">Anasayfa</a></div> <div class="menuBG2" style="width:116px;"><a href="<?php echo $domain;?>/facebookvideoindirme.php">Video İndir</a></div> <div class="menuBG2" style="width:116px;"><a href="<?php echo $domain;?>/yeni-videolar">Yeni Videolar</a></div> <div class="menuBG2" style="width:116px;"><a href="<?php echo $domain;?>/populer-videolar">Popüler Videolar</a></div> <div class="menuBG2" style="width:116px;"><a href="<?php echo $domain;?>/rastgele-videolar">Rastgele Videolar</a></div> <div class="menuBG2" style="width:116px;"><a href="<?php echo $domain;?>/iletisim.php">Iletisim</a></div> </div> </div> <div class="arama-kutu"> <form name="searchform" action="<?php echo $domain;?>/ara.php" method="get" onsubmit="this.submit();return false;"> <input type="text" id="arama-input" title="Arama Icin Burayı Kullanın" value="Arama Icin Burayı Kullanın"onclick="this.value=''" name="ara" /> <input type="image" src="<?php echo $domain;?>/images/ara.jpg" style="border:0px; margin-top:5px;" onclick="window.location = '<?php echo $domain;?>/ara/' + unescape(document.searchform.ara.value);return false;"/> </form> </div> </div> </div> <div class="orta"> <div class="yan-menu"> <div class="vertmenu"> <h1>Kategoriler</h1> <ul> <? $data = mysql_query("select * from kategoriler group by id"); while($sonuc = mysql_fetch_array($data)) { $kid=$sonuc["id"]; $kategori=$sonuc["kategori"]; ?> <li><a href="<?php echo $domain;?>/<?php echo $kid;?>/<?php echo $kategori;?>/" tabindex="1"><?php echo $kategori; ?></a></li> <? } ?> </ul> <br><br> <div class="vertmenu"> <h1>Sayac</h1><br> <?php echo $sayac;?> </div> </div> </div> <div class="i-ust-izle"><ul class="cstabs"> <li><a href="<?php echo $domain;?>/<?php echo $idx;?>/<?php echo sef($adi);?>.html"><?php echo $adi;?></a></li> </ul><div class="benzer-v-baslik">Benzer videolar</div></div> <div class="orta-ic-izle"> <br> <iframe src="http://www.facebook.com/plugins/like.php?href=<?=$domain?>/<?php echo $id;?>/<?=sef($adi)?>.html&layout=standard&show_faces=false&width=625&action=like&colorscheme=light&height=25" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:625px; height:25px;" allowTransparency="true"></iframe> <div class="video-izle"> <?php $kontrol=mb_substr($link,0,4,'UTF-8'); if ($kontrol=='http') { ?> <script> window.setTimeout("document.getElementById('reklami').style.display = 'none';document.getElementById('kendisi').style.display = '';",7000); </script> <div id="reklami"> <div align="right"><font face="Arial" style="font-size: 10pt; font-weight: 700"><a href="#" onclick="document.getElementById('reklami').style.display = 'none';document.getElementById('kendisi').style.display = '';"> <font color="#FF0000">Reklamları Geç»</font></a></font></div> <center> <font color="#FF0000"> <font face="Arial" style="font-size: 9pt; font-weight: 700">Video Hazırlanıyor Lütfen 7 Sn. Bekleyin.<br>Bu Arada Beklerken Facebook Sayfamızı Beğenebilirsiniz<br> </font><img border="0" src="http://www.vidyomusic.com/images/ajaxloader.gif" width="128" height="15"><br><br> <?php echo $videoonureklam;?> </font> </center> </div> <div id="kendisi" style="display:none";> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="625" height="400" id="Untitled-1" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="https://media.preachingtoday.com/flash/player.swf?file=<?php echo $link;?>&image=<?php echo $resim;?>&logo=<?php echo $domain;?>/player/videologo.gif&autostart=true&type=video" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="https://media.preachingtoday.com/flash/player.swf?file=<?php echo $link;?>&image=<?php echo $resim;?>&logo=<?php echo $domain;?>/player/videologo.gif&autostart=true&type=video" quality="high" bgcolor="#ffffff" width="625" height="400" name="mymovie" align="middle" allowFullScreen="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /> </object> </div> <?php }else{ echo $link; } ?> </div> <div class="karartma"> <style type="text/css"> #theater {background-color: #000; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 25; display: none;} </style> <script type="text/javascript" src="http://www.vidyomusic.com/js/kueri-1.3.2.min.js"></script> <script type="text/javascript" src="http://www.vidyomusic.com/js/jquery-1.3.1.min.js"></script> <script type="text/javascript" src="http://www.vidyomusic.com/js/jquery.theatermode.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("body").theaterMode({ imgClass: ".theaterBtn", // imgTitleLightOff: "Siteyi Karart !", imgTitleLightOn: "Siteyi Aydinlat !", imgSrcLightOff: "http://www.vidyomusic.com/images/off.png", imgSrcLightOn: "http://www.vidyomusic.com/images/on.png", opacity: 0.85, speed: 500 }); }); </script> <span class="right"><img src="http://www.vidyomusic.com/images/off.png" width="183" height="40" alt="" class="theaterBtn" title="Siteyi Karart !" style="position: absolute; z-index: 100; cursor: pointer;" /></span><br> </div> <div class="benzer-videolar"> <ul class="gallery"> <?php $benzervideo=explode(' ',$adi); $benzervideo1=$benzervideo[0]; $benzervideo2=$benzervideo[1]; $benzervideolar= $benzervideo[0].' '.$benzervideo[1]; ?> <? $data = mysql_query("SELECT * FROM videolar WHERE adi LIKE '%$benzervideolar%' ORDER BY id DESC LIMIT 0,5"); while($sonuc = mysql_fetch_array($data)) { $bidx=$sonuc["id"]; $badi=$sonuc["adi"]; $bsure=$sonuc["sure"]; $bhit=$sonuc["hit"]; $bresim=$sonuc["resim"]; $bolisim=mb_substr($badi,0,34,'UTF-8'); ?> <li> <div class="isim"><?php echo $bolisim; ?></div> <div class="sure">Sure: <?php echo $bsure;?> | Hit: <?php echo $bhit;?></div> <a href="<?php echo $domain;?>/<?php echo $bidx;?>/<?php echo sef($badi);?>.html"><img src="<?php echo $bresim;?>" alt="<?php echo $badi;?> resmi" width="155" height="111" /> <span class="video"></span> </a> </li> <? } ?> </ul> </div> <div id="social"> <br> <iframe src="http://www.facebook.com/plugins/like.php?href=<?=$domain?>/<?php echo $id;?>/<?=sef($adi)?>.html&layout=standard&show_faces=false&width=625&action=like&colorscheme=light&height=25" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:625px; height:25px;" allowTransparency="true"></iframe> <br> <br> <center> <table align="center" border="0" cellpadding="2" cellspacing="2" width="510px"> <tbody><tr> <td width="282"> <a class="a2a_dd" href="http://www.addtoany.com/share_save#url=<?php echo $domain;?>/<?php echo $idx;?>/<?php echo sef($adi);?>.html&title=Videoyu%20arkada%C5%9Flar%C4%B1nla%20payla%C5%9F&description=<?php echo $adi; ?>"><img style="border-width: 0pt;" src="http://video.bilgiblog.com/img/ekle_bunu.jpg" alt="Ekle/Paylaş" border="0" width="242" height="22"></a><script type="text/javascript">a2a_linkname="Videoyu arkadaşlarınla paylaş";a2a_linkurl="<?php echo $domain;?>/<?php echo $idx;?>/<?php echo sef($adi);?>.html";a2a_onclick=1;a2a_show_title=1;a2a_hide_embeds=0;a2a_prioritize=["facebook","delicious","twitter","google_bookmarks","google_reader","netlog","digg","hotmail","friendfeed","wordpress","myspace","yahoo_bookmarks","windows_live_spaces","stumbleupon"];</script><script type="text/javascript" src="http://static.addtoany.com/menu/locale/tr-TR.js" charset="utf-8"></script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script></td> <td><a title="Facebook'ta Paylaş" href="http://www.facebook.com/sharer.php?u=<?php echo $domain;?>/<?php echo $idx;?>/<?php echo sef($adi);?>.html" target="_blank"><img src="http://video.bilgiblog.com/img/facebookta_paylas.gif" alt="Videoyu Facebook'a ekle" align="center" border="0" width="230" height="22"></a></td></tr> </tbody></table> </center></div> <div id="yorumlar"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="625" id="AutoNumber1"> <tr> <td width="623" colspan="2"> <p style="margin-top: 0; margin-bottom: 0">Etiketler : <font color="#008000"><?php echo $adi;?> videosu</font> , <font color="#FF00FF"><?php echo $adi;?> videosunu izle</font> , <font color="#FF0000"><?php echo $adi;?> izle </font>, <font color="#0000FF"><?php echo $adi;?> videosu indir </font>, <font color="#800000"><?php echo $adi;?> online izle </font>, <font color="#800080"><?php echo $adi;?> dinle </font>, <font color="#003300"><?php echo $adi;?> mp3 indir </font> </p> </td> </tr> <tr> <td width="95"> <font color="#003300">Video URL :</font></td> <td width="454"> <font color="#003300"> <input onfocus="this.select();" name="lnk" style="width: 520px; height: 20px; color: rgb(0, 0, 0); font-size: 13px; font-family: Verdana; border: 1px solid rgb(221, 221, 221);" value="<?php echo $domain;?>/<?php echo $idx;?>/<?php echo sef($adi);?>.html" type="text"></font></td> <td width="4"> </td> </tr> <tr> <td width="95"> <font color="#003300">Sitene Ekle :</font></td> <td width="454"> <input onfocus="this.select();" name="lnk" style="width: 520px; height: 20px; background: none repeat scroll 0% 0% rgb(255, 255, 255); color: rgb(0, 0, 0); font-size: 13px; font-family: Verdana; border: 1px solid rgb(221, 221, 221);" value="<?php if ($kontrol=='http') { ?> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="500" height="350" id="Untitled-1" align="middle" ><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="movie" value="https://media.preachingtoday.com/flash/player.swf?file=<?php echo $link; ?>&image=<?php echo $resim;?>&logo=http://www.vidyomusic.com/player/videologo.gif&autostart=true&type=video" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="https://media.preachingtoday.com/flash/player.swf?file=<?php echo $link; ?>&image=<?php echo $resim;?>&logo=http://www.vidyomusic.com/player/videologo.gif&autostart=true&type=video" quality="high" bgcolor="#ffffff" width="500" height="350" name="mymovie" align="middle" allowFullScreen="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /></object><?php } else { echo htmlspecialchars($link, ENT_QUOTES); } ?><p><a href="<?php echo $domain;?>/<?php echo $idx;?>/<?php echo sef($adi);?>.html" target="_blank" title="<?php echo $adi;?>"><?php echo $adi;?></a> | <a href="<?php echo $domain;?>" target="_blank" title="Facebook">Video izle</a></p>" type="text"></td> <td width="4"> </tr> <?php if ($kontrol=='http') { ?> <table align="center" border="0" cellpadding="2" cellspacing="2" width="510px"> <tbody> <tr> <td> <a title="İndirmek için sağ tıklayıp farklı kaydedin" href="<?php echo $link;?>" target="_blank"><img src="../paylas/vindir.png" alt="İndirmek için sağ tıklayıp farklı kaydedin" align="center" border="0" width="464" height="38"></a> </td> </tr> </tbody></table> <?php } ?> </table> </center> </div> <div class="yorum-ust"><ul class="cstabs"> <li><a class="1" id="selected">Yorumlar</a></li> </ul></div> <div id="yorumlar"> <div id="yorum"> <ul> <?php $page = intval(mysql_real_escape_string($_GET['sayfa'])); $max=5; if (!$page) $page=1; $alt=($page - 1) * $max; $sql2="SELECT COUNT(id) FROM yorumlar where vid='$id' AND onay=1"; $result2=mysql_query($sql2); $count=mysql_result($result2,0); $perpage=ceil($count/$max); // SQL sorgusunu burada hazırlıyoruz. $sql="SELECT * FROM yorumlar WHERE vid='$id' AND onay=1 ORDER BY id DESC LIMIT $alt,$max"; // yazıya ait yorumları getirecek sorguyu çalıştırıyoruz $result=mysql_query($sql); // while loop ile tüm yorumları veritabanından // satır satır okuyup yine echo ile ekrana bastırıyoruz. while ( $row=mysql_fetch_assoc($result) ) { if ($row["mail"]!="") echo "<li><a href='mailto:".$row["mail"]." 'title='site'>Yazan: ".$row["ad"]."\n"; else echo "<a href='#'title='site'>Yazan: ".$row["ad"]."\n"; echo "<em>".$row["yorum"]."</em>\n"; echo '<span>'.$row["tarih"].'</span></a></li>'; } // eğer yorum yoksa kontrol edip // yorum yapılmadığını yazdırıyoruz. if (mysql_num_rows($result)==0) echo "<li>Bu videoya yorum yapılmamış.</li>"; ?> </ul> </div> <div style="clear:both; height:0px; overflow:hidden;"></div> <div class="pagination"> <?php if($count > $perpage) : if($perpage<=5) { $x = $perpage; } else { $x = 6; // akrif sayfadan önceki/sonraki sayfa gösterim sayısı } $lastP = $perpage; // sayfa 1'i yazdır if($page==1) echo "<a href=\"javascript:yorumsayfa(1,$idx);\">1</a>"; else echo "<a href=\"javascript:yorumsayfa(1,$idx);\">1</a>"; // "..." veya direkt 2 if($page-$x > 2) { echo "..."; $i = $page-$x; } else { $i = 2; } // +/- $x sayfaları yazdır for($i; $i<=$page+$x; $i++) { if($i==$page) echo "<span class=\"current\">$i</span>"; else echo "<a href=\"javascript:yorumsayfa($i,$idx);\">$i</a>"; if($i==$lastP) break; } // "..." veya son sayfa if($page+$x < $lastP-1) { echo "..."; echo "<a href=\"javascript:yorumsayfa($lastP,$idx);\">$lastP</a>"; } elseif($page+$x == $lastP-1) { echo "<a href=\"javascript:yorumsayfa($lastP,$idx);\">$lastP</a>"; } endif; ?> </div> </div> <div class="yorum-ust"><ul class="cstabs"> <li><a class="1" id="selected">Yorum Yaz</a></li> </ul></div> <div class="yorum-yaz"> <h2>Yorum Yaz</h2> <form action="" method="post" id="commentform"> <p><label for="author">İsminiz </label><br /> <input type="text" name="ad" id="author" value="" size="22" style="width:250px;" tabindex="1" /> </p> <p> <label for="email">E-postanız</label><br /> <input type="text" name="email" id="email" value="" size="22" style="width:250px;" tabindex="2" /></p> <p> <label for="email">Yorumunuz</label><br /> <textarea name="yorum" style="border:solid #CCC 1px;" id="comment" cols="80" rows="5" tabindex="5"></textarea> </p> <br /> <p><input name="submit" type="button" onClick="yorumekle()" id="submit" tabindex="6" value="Gönder" /> <input type="hidden" name="vid" value="<?php echo $idx;?>" /></p> </form> </div> <div style="clear:both; height:0px; overflow:hidden;"></div> </div> </div> <div style="clear:both; height:0px; overflow:hidden;"></div> <div id="footer"><div class="linkler"><b>Link Değişimi:</b> <?php echo $linkdegisimi;?></div><div class="chatlakturk">ChatLakTurk <a href="http://video.izlebizi.com">video izle</a>me scripti</div></div> </body> </html>kodların içindeki olayı embed olarak yaptım ama kodlara göre bakarsanız anlarsınız.
<?php if ($kontrol=='embed') { ?> <link rel="image_src" href="<?php echo $resim; ?>"/> <link rel="video_src" href="https://mo-mastermind.s3.amazonaws.com/mediaplayer/player.swf?file=<?php echo $link; ?>&image=<?php echo $resim;?>&logo=<?php echo $domain;?>/player/videologo.gif&autostart=true&type=video"/> <meta name="video_height" content="400" /> <meta name="video_width" content="550" /> <meta name="video_type" content="application/x-shockwave-flash"/> <?php } ?>