TangShanKaiPing
wanggang 6 years ago
parent 6ca4d30619
commit 234d45ec28

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -1,68 +1,72 @@
<html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style>
body {
background-color: #000;
cursor: none;
}
video {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
body {
background-color: #000;
cursor: none;
background-image: url(/images/bg.png);
background-repeat: no-repeat;
background-position: center center;
background-size: auto;
}
.box {
position: absolute;
width: 220px;
height: 120px;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
background-color: #f8f0f0;
color: #333;
border: 1px solid #d3b2b2;
border-radius: 5px;
z-index: 1000;
display: none;
opacity: 0.4;
}
video {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.box .info {
position: relative;
height: 80px;
line-height: 80px;
margin: 0 auto;
text-align: center;
font-size: 18px;
}
.box {
position: absolute;
width: 220px;
height: 120px;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
background-color: #f8f0f0;
color: #333;
border: 1px solid #d3b2b2;
border-radius: 5px;
z-index: 1000;
display: none;
opacity: 0.4;
}
.info.volume {
background: url(images/volume.png) center center no-repeat;
}
.box .line {
.box .info {
position: relative;
width: 200px;
height: 80px;
line-height: 80px;
margin: 0 auto;
border-bottom: 2px solid #999;
text-align: center;
font-size: 18px;
}
.line .point {
position: absolute;
top: -5px;
width: 0;
height: 0;
border: 5px solid #999;
border-radius: 50%;
}
</style>
.info.volume {
background: url(images/volume.png) center center no-repeat;
}
.box .line {
position: relative;
width: 200px;
margin: 0 auto;
border-bottom: 2px solid #999;
}
.line .point {
position: absolute;
top: -5px;
width: 0;
height: 0;
border: 5px solid #999;
border-radius: 50%;
}
</style>
</head>
<body>
<video id="player" autoplay></video>
@ -103,6 +107,9 @@
var vtimer;
var stimer;
player.volume = 0.5;
player.onended = function () {
player.play();
};
function onvolumechange() {
var vol = document.getElementById('vol');
vol.style.display = 'block';

Loading…
Cancel
Save