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.

40 lines
1.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>录像播放</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script language="javascript" src="../script/jquery.bs.js" type="text/javascript"></script>
<script language="javascript" src="../script/common.js" type="text/javascript"></script>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
</style>
<script type="text/javascript">
$(function(){
// doRefreshGet("biz/event/getVideoFile?filename=1431519303466881024.mp4", "", function (_data) {//接口调用需要同步,不能异步
// debugger
// var url = _data;//备注 格式返回mp4 测试下看是否有带下载的按钮 http://192.168.2.235:8083/yz/501.flv
// });http://localhost/dev-api/biz/api/sim/getVideoFile?filename=testc208275885.mp4
$(".autoplay").attr("src", "http://192.168.6.235:82/stage-api/biz/api/file/getVideoFile?filename=testc208275885.mp4");
})
</script>
</head>
<body>
<!-- <h1>springboot访问第一个html页面</h1>
<button onclick="form_btn()">提交</button> -->
<video class="autoplay" controls="autoplay" src="" />
<!-- <video class="autoplay" controls="autoplay" src="http://192.168.2.235:82/stage-api/biz/event/getVideoFile?filename=testc208275885.mp4" /> -->
<!-- <video controls="autoplay" src="http://localhost:8082/demo/redio/preview2" /> -->
</body>
</html>