facebook - 如何在 facebook 墙贴中嵌入我自己的 HTML5/flash 视频播放器(使用 rails + koala)?

标签 facebook html video koala

我想在 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/

相关文章:

登录后 api 调用的 Facebook API 未知异常

facebook - React Native 和 Parse.FacebookUtils

javascript - 如何在每次鼠标悬停事件时计算 img 标签

html - html中css的最小高度

html - 为什么我的元素不能水平显示?

video - 有没有办法在保持视频 alpha channel 的同时使用 ffmpeg 缩放 avi?

iOS 退出全屏后如何触发视频继续播放?

html - Facebook 点赞和评论代码脚本

ios - Swift - 从 facebook 登录中获取错误

php - 从数组中获取值并在 mysql php 中选择它