我有一个 Flash 音乐播放器 http://www.etiennechampollion.com/lecteur/compositions.htm< /a>
带有 Facebook 点赞按钮。
我设置了 OpenGraph 元标记以指定 Flash 的 url
object :
<meta property="og:video:type" content="application/x-shockwave-
flash" />
<meta property="og:video" content="http://www.etiennechampollion.com/
lecteur/dewplayer-
playlist.swf&showtime=true&autostart=true&autoreplay=true&xml=http://
www.etiennechampollion.com/lecteur/compositions.xml">
如果你尝试直接玩
http://www.etiennechampollion.com/lecteur/dewplayer-playlist.swf?showtime=true&autostart=true&autoreplay=true&xml=http://www.etiennechampollion.com/lecteur/组成.xml
在你的浏览器中,它可以工作。
但是,如果一个用户点击“喜欢”按钮以便在他的
墙,播放器将显示,但带有“XML 错误”,这让我知道
它找不到composes.xml 文件。
在 facebook 中,如果我查看页面的源代码,我发现
facebook 使用相对路径:“compositions.xml”。
所以问题是:我怎样才能让 Facebook 获得
通过 OpenGraph 播放器和播放列表?
感谢您的帮助。
阿尔诺
I have a flash music player at http://www.etiennechampollion.com/lecteur/compositions.htm
with a Facebook like button.
I've set OpenGraph meta tags in order to specify the url of the flash
object :
<meta property="og:video:type" content="application/x-shockwave-
flash" />
<meta property="og:video" content="http://www.etiennechampollion.com/
lecteur/dewplayer-
playlist.swf&showtime=true&autostart=true&autoreplay=true&xml=http://
www.etiennechampollion.com/lecteur/compositions.xml">
If you try to play directly
http://www.etiennechampollion.com/lecteur/dewplayer-playlist.swf?showtime=true&autostart=true&autoreplay=true&xml=http://www.etiennechampollion.com/lecteur/compositions.xml
in your browser, it works.
But, if one user clicks on the like button in order to share it on his
wall, the player will show, but with "XML error", which let me know
that it doesn't find the compositions.xml file.
In facebook, if I look at the source code of the page, I find that
facebook use a relative path : "compositions.xml".
So the question is : how could I do to allow Facebook to get the
player and the playlist via OpenGraph ?
Thank you for your help.
Arnaud
发布评论
评论(1)
您可以使用 facebook 调试器来修复页面上的错误: http://developers.facebook.com/tools/调试
You can use facebook debugger to fix the errors on the page: http://developers.facebook.com/tools/debug