Facebook 视频嵌入代码不起作用
我正在尝试在我的网站上嵌入 Facebook 视频,但显示“视频不可用。该视频已从 Facebook 中删除或不可见”。
视频对所有人公开,不会被删除,我可以通过我未登录的其他浏览器在 Facebook 上观看它。
我尝试了下面的两个嵌入代码,但都不起作用。
1
<object width="500" height="300">
<param name="movie" value="http://www.facebook.com/v/VIDEO_ID"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.facebook.com/v/VIDEO_ID" type="application/x-shockwave-flash" width="500" height="300" allowscriptaccess="always" allowfullscreen="true">
</embed>
</object>
2
<object width="500" height="300">
<param name="allowfullscreen" value="true" />
<param name="movie" value="http://www.facebook.com/v/VIDEO_ID" />
<embed src="http://www.facebook.com/v/VIDEO_ID" type="application/x-shockwave-flash" allowfullscreen="true" width="500 height="300">
</embed>
</object>
有什么想法吗? 谢谢!
I am trying to embed a facebook video on my website but it gives "Video Unavailable. this video has either has been removed from facebook or is not visible".
video is public to everyone, is not deleted and I can watch it on facebook via other browsers that I am not logged in.
I tried both below embed codes, neither is worked.
1
<object width="500" height="300">
<param name="movie" value="http://www.facebook.com/v/VIDEO_ID"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.facebook.com/v/VIDEO_ID" type="application/x-shockwave-flash" width="500" height="300" allowscriptaccess="always" allowfullscreen="true">
</embed>
</object>
2
<object width="500" height="300">
<param name="allowfullscreen" value="true" />
<param name="movie" value="http://www.facebook.com/v/VIDEO_ID" />
<embed src="http://www.facebook.com/v/VIDEO_ID" type="application/x-shockwave-flash" allowfullscreen="true" width="500 height="300">
</embed>
</object>
Any idea?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这段代码对我来说工作得很好。无论我是否登录 Facebook,该视频都会播放:
问题可能出在位置或 IP 问题。
This code works perfectly fine for me. The video plays whether I'm logged in to Facebook or not:
The problem could be down to location or an IP issue.