You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui">
|
|
|
|
|
<meta name="referrer" content="no-referrer">
|
|
|
|
|
<title></title>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
html, body {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: auto;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mse {
|
|
|
|
|
flex: auto;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<!-- http://192.168.1.235:8083/rtp/gb_play_34020000001320000001_34020000001320000001/hls.m3u8 -->
|
|
|
|
|
<div id="mse"></div>
|
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/xgplayer@2.9.6/browser/index.js" charset="utf-8"></script>
|
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/xgplayer-hls/dist/index.min.js" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
let player = new HlsPlayer({
|
|
|
|
|
id: 'mse',
|
|
|
|
|
url: 'http://192.168.6.235:8083/rtp/gb_play_34020000001320000001_34020000001320000001.live.mp4',
|
|
|
|
|
isLive: true,
|
|
|
|
|
autoplay: true,
|
|
|
|
|
playsinline: true,
|
|
|
|
|
height: window.innerHeight,
|
|
|
|
|
width: window.innerWidth
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|