-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (69 loc) · 2.22 KB
/
index.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
90
91
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready blob:; style-src * 'unsafe-inline'; connect-src * gap: wss://* blob:; script-src * 'unsafe-inline' 'unsafe-eval';img-src * data: blob:">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="stylesheet" type="text/css" href="css/index.css">
<title>WebRTC Test</title>
<style>
video::-webkit-media-controls-panel {
display: none !important;
}
video::-webkit-media-controls-play-button {
display: none !important;
}
video::-webkit-media-controls-current-time-display {
display: none !important;
}
video::-webkit-media-controls-time-remaining-display {
display: none !important;
}
video::-webkit-media-controls-timeline {
display: none !important;
}
video::-webkit-media-controls-mute-button {
display: none !important;
}
video::-webkit-media-controls-volume-slider {
display: none !important;
}
video::-webkit-media-controls-fullscreen-button {
display: none !important;
}
video::-internal-media-controls-download-button {
display: none !important;
}
.buttonBar {
z-index: 5;
position: absolute;
bottom: 15%;
left: 0;
background-color: transparent;
background-image: none;
width: 100%;
height: 15%;
}
#localVideo {
z-index: -1;
background-color: transparent;
background-image: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body style="background-color: transparent;background-image: none;">
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<video id="localVideo" playsinline autoplay muted="muted"></video>
<div class="buttonBar">
<button id="getUserMedia640">Get User Media 640x480</button>
<button id="getUserMedia1280">Get User Media 1280x720</button>
</div>
</body>
</html>