时时监控的rtsp流视频显示在前端与一些css;

 

不过试了下只兼容IE。

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link href="./vxgplayer-1.8.31.min.css" rel='stylesheet'/>
<script src="./vxgplayer-1.8.31.min.js" type="text/javascript"></script>
<style>
.cont{
position:absolute;
width:720px;
height:410px;
margin-left:-360px;
left:50%;
}
</style>
</head>
<body>
<div class="cont">
<object type='application/x-vlc-plugin' pluginspage="http://www.videolan.org/" id='vlc' events='false' width="720" height="410">
<param name='mrl' value='rtsp://admin:Yunshitubest123@192.168.2.48' />
<param name='volume' value='50' />
<param name='autoplay' value='false' />
<param name='loop' value='true' />
<param name='fullscreen' value='true' />
<param name='controls' value='true' />
</object>
</div>
</body>
</html>
posted @ 2018-11-13 18:13  国服第一李师师  阅读(1367)  评论(8编辑  收藏  举报