|
@@ -0,0 +1,30 @@
|
|
|
+<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
|
+ pageEncoding="UTF-8"%>
|
|
|
+<%@ page session="true" %>
|
|
|
+<%
|
|
|
+ String path = request.getContextPath();
|
|
|
+ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
|
|
+ String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
|
|
|
+ String videoId = request.getParameter("videoId");
|
|
|
+ String t = String.valueOf(System.currentTimeMillis());
|
|
|
+%>
|
|
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
+<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
+<link type="text/css" rel="stylesheet" href="<%=basePath+"res/videojs/css/video-js.css" %>"/>
|
|
|
+<script type="text/javascript" src ="<%=basePath+"res/jquery/jquery-3.3.1.min.js" %>"></script>
|
|
|
+<script type="text/javascript" src ="<%=basePath+"res/videojs/js/video.js" %>"></script>
|
|
|
+<script type="text/javascript" src ="<%=basePath+"res/videojs/js/videojs-ie8.min.js" %>"></script>
|
|
|
+<script type="text/javascript" src ="<%=basePath+"view/frontpage/scripts/myVideo.js" %>"></script>
|
|
|
+<title>视频监控</title>
|
|
|
+</head>
|
|
|
+<body style="overflow:hidden;"onload="myload()">
|
|
|
+<video id="my-video" style="color:black;width:320px;height:240px" class="video-js" autoplay controls preload="auto" width="100%" height="100%" data-setup="{}">
|
|
|
+</video>
|
|
|
+<embed id="openFlash" width="300" height="70" class="openFlash" style="position:absolute;top:130px;left:225px;z-Index:9999;" type="application/x-shockwave-flash">
|
|
|
+<input type="hidden" id="basePath" name="basePath" value="<%=basePath %>"/>
|
|
|
+<input type="hidden" id="videoId" name="videoId" value="<%=videoId %>"/>
|
|
|
+</body>
|
|
|
+</html>
|