-
Notifications
You must be signed in to change notification settings - Fork 1
/
video.html
46 lines (46 loc) · 1.79 KB
/
video.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
<style>
.nexttext { font-weight: bold; color: #002A5C; }
</style>
<script src="js/jquery-1.11.1.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(function(){
conditionarr = window.location.href.split("c=")
c = conditionarr[1]
var vid = document.getElementById('video')
vid.onloadeddata = function(){
window.setTimeout(nextEnable, 28000)
}
$('video').prop('loop', false)
function nextEnable() {
document.getElementById('button').disabled = false;
};
});
</script>
</head>
<body>
<div style="text-align:center;font-family:helvetica;";>
<figure id="videoContainer">
<video id="video" width="80%" height="auto" autoplay="autoplay" onloadeddata="">
<source src="./vid/blicket_instructions.mp4" type="video/mp4">
<source src="./vid/blicket_instructions.webm" type="video/webm">
<source src="./vid/blicket_instructions.ogv" type="video/ogg">
<!-- Flash fallback (CL: Commented this out, since the swf file is missing and support is likely worse)
<object type="application/x-shockwave-flash" data="flash-player.swf?videoUrl=./vid/blicket_instructions.mp4" width="1024" height="576">
<param name="movie" value="flash-player.swf?videoUrl=./vid/blicket_instructions.mp4" />
<param name="allowfullscreen" value="false" />
<param name="wmode" value="transparent"/>
</object>-->
</video>
<div class="next">
<button type="button" id="button" style="margin-top:5px" disabled="true" onclick="location.href='./detection.html'+'?c='+c;">NEXT</button>
</div>
</p>
</div>
</body>
</html>