我正在尝试将视频直接嵌入FaceBook时间线。这是我的元标:
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# video: http://ogp.me/ns/video#">
<meta property="og:url" content="THIS PAGE'S URL" />
<meta property="og:video:url" content="MP4 FILE" />
<meta property="og:title" content="Sample Movie 123" />
<meta property="og:description" content="Description">
<meta property="fb:app_id" content="APPID" />
<meta property="og:type" content="video.movie" />
<meta property="og:image" content="IMAGE.png" />
<meta property="og:video:type" content="video/mp4">
<meta property="og:video:width" content="200">
<meta property="og:video:height" content="500">
</head>
修改
我还尝试了以下(swf文件):
<head>
<meta property="og:type" content="movie" />
<meta property="og:video:height" content="260" />
<meta property="og:video:width" content="420" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:title" content="Demo Video" />
<meta property="og:description" content="Video description." />
<meta property="og:image" content="IMAGE" />
<meta property="og:video" content="http://example.com/jwplayer/player.swf?file=filepath" />
</head>
这只是创建了一个指向网页的链接,并没有真正将媒体嵌入到时间之中。
感谢所有帮助。感谢。