我想在 Facebook 墙贴中嵌入我自己的 HTML5(带有 Flash 备份)播放器。 我正在使用 rails 和 ruby 考拉。 我看过这个:https://developers.facebook.com/docs/share/对于可以添加的元标记,但它要么用于指向我的网页的链接,要么用于加载要加载的视频文件。
如果有人能帮助我,我将不胜感激:)
最佳答案
http://www.longtailvideo.com/support/blog/19150/publish-your-videos-to-facebook-with-a-jw-player
以下是共享链接上的 og:tags 示例,以便 Facebook 可以获取客户视频播放器:
<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="Big Buck Bunny" />
<meta property="og:description" content="Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation." />
<meta property="og:image" content="http://www.example.com/bunny.png" />
<meta property="og:video" content="http://www.example.com/jwplayer/player.swf?file=http%3A%2F%2Fwww.example.com%2Fbunny.flv&autostart=true" />
关于facebook - 如何在 facebook 墙贴中嵌入我自己的 HTML5/flash 视频播放器(使用 rails + koala)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9249537/