2012-07-24 85 views
0

想在Facebook上播放視頻。 這是我的頁面。播放視頻時以及當您訪問的網站http://sefid.co.ke在Facebook上播放視頻新聞Feed

<html xmlns="http://www.w3.org/1999/xhtml" 
     xmlns:og="http://ogp.me/ns#"> 
    <head> 
    <title>The Rock (1996)</title> 
<meta property="og:title" content="#video.title#"> 
<meta property="og:description" content="#video.description#"> 
<meta property="og:type" content="video"> 
<meta property="og:image" content="http://sefid.co.ke/jwplayer/preview.jpg"> 
<meta property="og:video" content="http://sefid.co.ke/jwplayer/player.swf?embedCode=#url.watch#&autoplay=1&keepembedCode=true"> 
<meta property="og:video:type" content="application/x-shockwave-flash"> 
<meta property="og:video:width" content="470"> 
<meta property="og:video:height" content="320"> 
<meta property="og:site_name" content="AOPA"> 

</head> 
<body> 
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='single1' name='single1'> 
<param name='movie' value='/jwplayer/player.swf'> 
<param name='allowfullscreen' value='true'> 
<param name='allowscriptaccess' value='always'> 
<param name='wmode' value='transparent'> 
<param name='flashvars' value='file=http://sefid.co.ke/jwplayer/player.swf?file=%2Fjwplayer%2Fvideo.mp4'> 
<embed 
    id='single2' 
    name='single2' 
    src='/jwplayer/player.swf' 
    width='470' 
    height='320' 
    bgcolor='#000000' 
    allowscriptaccess='always' 
    allowfullscreen='true' 
    flashvars='file=/jwplayer/video.mp4' 
/> 
</object> 
</body> 

</html> 

可能是什麼問題?

請協助。

我很欣賞

羅傑

回答

0

試着這麼做:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"> 
<head> 
<meta property="og:image" content="http://xxxxx.XXXX.www/wwwwww/XXXXX.jpg" /> 
<meta property="og:video" content="http://www.wwwww.www/wwwww/wwwwwwww.swf" /> 
<meta content="video" name="medium" /> 
<meta content="400" property="og:video:height" /> 
<meta content="400" property="og:video:width" /> 
<meta content="application/x-shockwave-flash" property="og:video:type" /> 

</head> 
<body> 
<div id="live" style="display:block;width:400px;height:400px;"></div> 
</body> 
</html> 
+0

感謝愛德華。不幸的是它仍然不起作用。你有一個網頁,它的工作。也許我可以從源代碼中獲得一些東西 – 2012-07-25 15:16:05