·您当前的位置:首页 > 技术教程 > Wowza教程 >

[wowza]RTP直播流推送到另一个远端的服务器(2)

时间:2015-03-23 23:03酷播
酷播流媒体播放器介绍: 下载: http://www.cuplayer.com/CuPlayer/download.html 播放器调用代码示例 script type=text/javascript src= /player/js/swfobject.js /script div class= video id= CuPlayer b img sr

酷播流媒体播放器介绍:
下载:http://www.cuplayer.com/CuPlayer/download.html

播放器调用代码示例

<script type="text/javascript" src="/player/js/swfobject.js"></script>
<div class="video" id="CuPlayer"> <b> <img src="/player/images/loading.gif" /> 网页视频播放器加载中,请稍后...</b> </div>
<script type="text/javascript">
var so = new SWFObject("/player/player.swf","ply","980","460","9","#000000");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addParam("quality","high");
so.addParam("salign","lt");
<!-- HTML代码参数/Begin -->
so.addVariable("JcScpServer","rtmp://www.yourServer.com/vod"); //rtmp流媒体服务器地址
so.addVariable("JcScpVideoPath","mp4:test.mp4"); //文件地址
so.addVariable("JcScpImg","/player/images/startpic.jpg"); //视频缩略图
so.addVariable("JcScpFile","/player/CuSunV4set.xml"); //配置文件
<!-- HTML代码参数/End -->
so.write("CuPlayer");
</script>

 

热门文章推荐

请稍候...

保利威视云平台-轻松实现点播直播视频应用

酷播云数据统计分析跨平台播放器