主要功能

点播:支持广泛的流式视频格式(MP4、M3U8、FLV)

Demo示例

http://www.vhallyun.com/document/document/download

示例代码

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>demo  for push stream</title>
	<link rel="stylesheet" href="https://static.vhallyun.com/jssdk/videojs.min.css?v=1.0.0"></script><!--播放器默认样式,需要引用在包含在页面的head标签里-->
	<script src="https://static.vhallyun.com/jssdk/dvideo-plugin.js?v=1.0.0"></script><!--依赖的播放器资源-->
	<script src="https://static.vhallyun.com/jssdk/vhall-jssdk-player-1.0.0.js"></script>
	<script src="https://static.vhallyun.com/jssdk/vhall-jssdk-base-1.0.0.js"></script>
	<style>
		body{
			background-color: #000;
/*			height: 800px;
			line-height: 800px;*/
		}
		.video-box{
			margin:0 auto;
			width: 854px;
			height: 480px;
		}
	</style>
</head>
<body>
	<div class="video-box" >
		<div id="myVideo" style="width:100%; height:450px;"></div>
	</div>

</body>
<script>

	Vhall.ready(function(){

	    VhallPlayer.init({
	        roomId:'lss_c063b5c9', //房间ID,直播必填,点播不写
	        recordId:'',//回放Id,点播必填,直播不写
	        type:'live',//播放类型,必填,live 直播, vod 为点播
	        videoNode:'myVideo',//推流视频回显节点id,必填
	        complete:function(){
	        	VhallPlayer.play();
	        }
    	});

	});

	 Vhall.config({
	     appId :'76043aaf',//应用 ID ,必填
	     accountId :'10000126',//第三方用户唯一标识,必填
	     token:'vhall',//token必填
	 });


</script>
</html>