1
我需要通過分享按鈕在Facebook上發佈來自RED5服務器的流。我使用JW播放器和AddThis共享插件,但它不起作用。如何在Facebook上發佈red5(任何服務器)實時流?
我使用的是Facebook或者metas。
<?php $this->headMeta()->setProperty('og:type','video');?>
<?php $this->headMeta()->setProperty('og:video:height','260');?>
<?php $this->headMeta()->setProperty('og:video:width','420');?>
<?php $this->headMeta()->setProperty('og:video:type','application/x-shockwave-flash');?>
<?php $this->headMeta()->setProperty('og:description','stream-test-exaple');?>
<?php $this->headMeta()->setProperty('og:title','stream-test');?>
<?php $this->headMeta()->setProperty('og:image', 'http://example.com/img/jabba.gif'); ?>
<?php $this->headMeta()->setProperty('og:video', 'http://example.com/js/plugins/jwplayer/player.sfw?file=rtmpt://example.com:5080/live/teststream');?>
有什麼我做錯了嗎?如果您知道在Facebook上分享流的另一種方式,請告訴我關於它們或任何建議。
資源,我用: http://www.jwplayer.com/blog/publish-your-videos-to-facebook-with-a-jw-player/
出版現在的作品,但是當我按下播放的播放器我這個錯誤顯示:
jwplayer任務隊列在第5步中的播放列表失敗無法加載由於跨域限制
,這裏是我的crossdomain.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="*" />
</cross-domain-policy>
謝謝你的時間!
Ups,這是愚蠢的錯誤!但現在我有另一個問題jwplayer任務隊列在第5步失敗播放列表無法加載由於跨域限制 – user1418998 2014-10-30 16:11:21
你有鏈接? – emaxsaun 2014-10-30 18:05:53
這是[鏈接](http://jabba.yopeso.com/stream/)。感謝您的迴應! – user1418998 2014-10-31 08:33:41