forked from Las-Chu/Agoration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
level6.html
89 lines (72 loc) · 1.87 KB
/
level6.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
<meta charset="utf-8">
<meta content="stuff, to, help, search, engines, not" name="keywords">
<meta content="What this page is about." name="description">
<meta content="Display Webcam Stream" name="title">
<title>Display Webcam Stream</title>
<style>
#container {
margin: 0px auto;
width: 500px;
height: 375px;
border: 10px #333 solid;
}
#videoElement {
width: 500px;
height: 375px;
background-color: #666;
}
<script src="//static.miniclipcdn.com/js/game-embed.js"></script>
@font-face:{
font-family:#ffb8b8;
}
.a{
font-size:45px;
text-align:center;
}
.img{
width:100px;
height:100px;
}
.b{
background-size: 100% 100%;
transition:all 2s;
}
.b:hover{
transform:scale(1.1,1.1);
}
</style>
</head>
<body bgcolor="#487eb0">
<table width="90%" height="400" border="0" align="center" bgcolor="#dcdde1" cellpadding="15" cellspacing="15">
<tr>
<td align="center" class="a" width="50%"><font face="georgia">There! That's good! Let's take a further step...now I want you to smile at someone (smile at the camera first)</td>
<td><video autoplay="true" id="videoElement">
</video>
</div>
<script>
var video = document.querySelector("#videoElement");
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.oGetUserMedia;
if (navigator.getUserMedia) {
navigator.getUserMedia({video: true}, handleVideo, videoError);
}
function handleVideo(stream) {
video.src = window.URL.createObjectURL(stream);
}
function videoError(e) {
// do something
}
</script></td>
<td align="right" width="50%">
<p style="text-align:center;"><a href="last.<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>"><a href="home.html"><img src="image/arrow.png" width="60%" height="200" class="c"></a></td>
</table>
</body>
</html>