在博客风格的博客上,前一天我可能在博客文章中有一张图片,第二天有一个 YouTube 视频,当将博客文章链接到 Facebook 时,是否有可能让 Facebook 找到并发布相同的视频它如何在博客文章中找到图像?
我见过其他人谈论“元标签”:
<meta name="og:type" content="video"> // This is important so that OP will recognize your site as video streaming site like YouTube & Vimeo
<meta property="og:video:type" content="application/x-shockwave-flash"> // Don't Change this
<meta property="og:video:width" content="Width in Pixels"> // player Width
<meta property="og:video:height" content="Height in Pixels"> // Player Height
<meta property="og:video" content="mySWFVideoPlayer.swf?url=Video_Soure"> // You will need to echo/print the Video Source (I.E. *.mp4) with a help of PHP or whatever your server uses
但元标签仅用于博客/网页,所以这意味着我只能为整个博客设置 1 个视频,但我想使用嵌入在每篇文章中的视频(如果嵌入了视频)