0
我只是設置流水遊戲來播放rtmp流,但出於某種原因,我需要單擊啓動屏幕(Play stream text)來啓動視頻,即使我有autoPlay:true。autoPlay不能用於流
這是一個錯誤,還是我缺少一些配置設置?
<!-- video -->
<div id="stream" class="stream" style="width: 1000px; height: 650px; display: block;">
Play stream text
</div>
<script type="text/javascript">
flowplayer("stream", "/flowplayer/flowplayer-3.2.7.swf", {
clip: {
url: 'mystream',
live: 'true',
provider: 'rtmp',
scaling: 'orig',
autoPlay: true
},
plugins: {
rtmp: {
url: '/flowplayer/flowplayer.rtmp-3.2.3.swf',
netConnectionUrl: 'rtmp://mms.mysite.com/live/'
}
},
canvas: {
backgroundGradient: 'none'
}
});
</script>
雅,我不得不刪除DIV的HTML,它的工作 – chobo 2012-01-18 17:38:33