Google Fan Webmaster Forum - Tekil Mesaj gösterimi - Facebookta Video Oynatma Sorunu :S
Tekil Mesaj gösterimi
  19  
Alt 15-04-2010, 00:24:21
anarschi anarschi isimli üyemiz çevrimdışıdır. (Offline)
 
Standart

Alıntı:
Cod Nickli Üyeden Alıntı Mesajı göster
wordpress te bir turlu yapamadım ya 1 aydır deniyorum araştırıyorum sıyırcam
Yardım elini uzatsa biri çok makbule gececek
Dur yapalım bi

PHP- Kodu:
<meta name="keywords" content="facebook,facebook video,video indir,facebook video indir">
<meta name="description" content="<?php echo $isim?> | Anarschi.Com">
<meta name="title" content="<?php echo $isim?> | Anarschi.Com" /> 
<link rel="image_src" href="<?php echo $resim?>"/> 
<link rel="video_src" href="http://facebook.anarschi.com/facebook.swf?file=<?php echo $video?>"/> <meta name="video_height" content="220px"/> 
<meta name="video_width" content="300px"/> 
<meta name="video_type" content="application/x-shockwave-flash"/>
PHP- Kodu:
<?php $videoyual get_post_meta($post->ID,'video'true);

if(
$videoyual != "") {  ?>


 <? echo strtolower($videoyual); ?>

<?php }else{ ?>

siteye ait tanıtım videosu linki :)

<?php ?>
misal anarschi.comdaki videolarıda facebook'a ekleyince çalışsın

Video özel alanından yakaladık bu özel alanı..

Şimdi bunu meta değişkenine basalım..

PHP- Kodu:
<link rel="video_src" href="http://facebook.anarschi.com/facebook.swf?file=<?php echo $video?>"/>
bu kodu

PHP- Kodu:
<?php $videoyual get_post_meta($post->ID,'video'true);

if(
$videoyual != "") {  ?>
<link rel="video_src" href="http://anarschi.com/kendiplayerim.swf?file=<? echo strtolower($videoyual); ?>"/>
<?php }else{ ?>

<link rel="video_src" href="http://anarschi.com/kendiplayerim.swf?file=http://www.anarschi.com/tanitimvideom.mp4"/>

<?php ?>
şeklinde yaparsak

video özel alanında ki ni oraya bastık aferim bize

şimdi aynı şekilde bunu thumb içinde yapalım..

PHP- Kodu:
<?php $resimial get_post_meta($post->ID,'thumb'true);
 
 if(
$resimial != "") {  ?>
<link rel="image_src" href="<?  echo strtolower($resimial); ?>"/> 

<?php }else{ ?>
 
<link rel="image_src" href="http://www.anarschi.com/facebooklogom.png"/> 
 
 <?php ?>
buda tamamdır
PHP- Kodu:
<meta name="keywords" content="facebook,facebook video,video indir,facebook video indir">
<meta name="description" content="<?php echo $isim?> | Anarschi.Com">
<meta name="title" content="<?php echo $isim?> | Anarschi.Com" />
bunlarada ne girsek

PHP- Kodu:
<meta name="title" content="<?php echo $isim?> | Anarschi.Com" />
buna wp title girelim..Yani konunun başlığını

PHP- Kodu:
<meta name="title" content="<?php the_title(); ?>" />
buda tamamdır..

descriptionla keyworda gerek yok yok oraları boş bırakalım

tüm kodları topluyalım bi..

PHP- Kodu:
<meta name="title" content="<?php the_title(); ?>" />
<meta name="keywords" content="facebook,facebook video,video indir,facebook video indir">
<meta name="description" content=" xxx.com'a ait videolar">
<?php $videoyual get_post_meta($post->ID,'video'true);

if(
$videoyual != "") {  ?>
<link rel="video_src" href="http://anarschi.com/kendiplayerim.swf?file=<? echo strtolower($videoyual); ?>"/>
<?php }else{ ?>

<link rel="video_src" href="http://anarschi.com/kendiplayerim.swf?file=http://www.anarschi.com/tanitimvideom.mp4"/>

<?php ?>
<?php $resimial 
get_post_meta($post->ID,'thumb'true);
 
 if(
$resimial != "") {  ?>
<link rel="image_src" href="<?  echo strtolower($resimial); ?>"/> 

<?php }else{ ?>
 
<link rel="image_src" href="http://www.anarschi.com/facebooklogom.png"/> 

 <?php ?>
<meta name="video_height" content="220px"/> 
<meta name="video_width" content="300px"/> 
<meta name="video_type" content="application/x-shockwave-flash"/>
tabi bunları yapmamıza rağmen facebook siteyi belli bi süreden sonra almaya başlıyor videolarını orasını anlamadım gitti

normalde sistem olarak kaynak kodlarında baktığımızda bu..yanlız ben normal swf adresi olarak denedim.

edit:
tamamdır çalışıyor benim ki



http://anarschi.com/takdir-ettigim-bir-davranis

bu konuyu facebookda paylaş dedim çalıştı sadece video ekli konularımda çıkması içinde

PHP- Kodu:
<meta name="title" content="<?php the_title(); ?>" />
<meta name="keywords" content="facebook,facebook video,video indir,facebook video indir">
<meta name="description" content=" xxx.com'a ait videolar">
<?php $videoyual get_post_meta($post->ID,'video'true);

if(
$videoyual != "") {  ?>
<link rel="video_src" href="http://www.anarschi.com/player-viral.swf?file=<? echo strtolower($videoyual); ?>"/>
<?php }else{ ?>

<?php ?>

<link rel="image_src" href="http://www.anarschi.com/video.jpg"/> 

<?php $varmi get_post_meta($post->ID,'video'true);

if(
$varmi != "") {  ?>
<meta name="video_height" content="220px"/> 
<meta name="video_width" content="300px"/> 
<meta name="video_type" content="application/x-shockwave-flash"/>
<?php }else{ ?>

<?php ?>
bu kodu kullandım
__________________
anarschi.com |Beyazıt Kimdir?

Konu anarschi tarafından (15-04-2010 Saat 00:32:39 ) değiştirilmiştir..
Alıntı ile Cevapla
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252