<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
<%
|
String path = request.getContextPath();
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
%>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<html>
|
<head>
|
<base href="<%=basePath%>">
|
|
<title>文件浏览</title>
|
<link rel="stylesheet" href="static/plugins/mediaelement/mediaelementplayer.min.css" type="text/css" />
|
<script type="text/javascript" src="static/plugins/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="static/plugins/mediaelement/mediaelement-and-player.min.js"></script>
|
<style>
|
#player-container .mejs__time-buffering, #player-container .mejs__time-current,
|
#player-container .mejs__time-handle, #player-container .mejs__time-loaded,
|
#player-container .mejs__time-marker, #player-container .mejs__time-total,
|
#player-container .mejs__time-hovered {
|
height: 2px;
|
}
|
|
#player-container .mejs__time-total {
|
margin-top: 9px;
|
}
|
|
#player-container .mejs__time-handle {
|
left: -5px;
|
width: 12px;
|
height: 12px;
|
border-radius: 50%;
|
background: #ffffff;
|
top: -5px;
|
cursor: pointer;
|
display: block;
|
position: absolute;
|
z-index: 2;
|
border: none;
|
}
|
|
#player-container .mejs__time-handle-content {
|
top: 0;
|
left: 0;
|
width: 12px;
|
height: 12px;
|
}
|
</style>
|
</head>
|
<body>
|
<div class="players" id="player-container">
|
<div class="media-wrapper">
|
<audio id="player1" class="mejs__player" src="general/${attachViewUrl}" style="max-width:100%;" controls autoplay> </audio>
|
</div>
|
</div>
|
</body>
|
</html>
|