首页 > 其他 > 详细

jwplayer直播

时间:2016-02-17 11:07:55      阅读:324      评论:0      收藏:0      [点我收藏+]

 

<div class=container>
    <div class=row>
        <div class=col-sm-10 col-md-10 col-sm-offset-1 col-md-offset1 >
            <div id=jw></div>
        </div>
    </div>
    <br/>

 </div>
   <!--{template footer}-->
<script type=text/javascript src=/jwplayer/jwplayer.js></script>
<script type="text/javascript">jwplayer.key="0kLqdtdiMHvqXB9SyjRgPMIPe1XfLy4/hjuQTTdXeY0=1";</script>
 <script type="text/javascript">
                    jwplayer("jw").setup({
                        //file:"rtmp://111.47.32.249/live/zbj",
                        file:"http://xxx.com:8079/hls/test.m3u8",
                        skin: "/jwplayer/skin/roundster.xml",
                        androidhls:"true",
                        aspectratio: "16:9",
                        height:auto,
                        width:100%,
                        abouttext:XX播放器V1.3.8,
                        aboutlink:http://v.cnchu.com
                    });

</script>

 

jwplayer直播

原文:http://www.cnblogs.com/fenle/p/5194556.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!