-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (75 loc) · 3.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Camic - Test your camera and microphone online</title>
<link rel="icon" href="favicon.png" />
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-icon-180.png" />
<link rel="apple-touch-icon" sizes="167x167" href="assets/apple-icon-167.png" />
<link rel="apple-touch-icon" sizes="152x152" href="assets/apple-icon-152.png" />
<link rel="apple-touch-icon" sizes="120x120" href="assets/apple-icon-120.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Camic" />
<meta
name="description"
content="Camic allows you to test your camera and microphone in a web page without sharing your details"
/>
<meta
name="keywords"
content="webcam test, check camera, check mic, check camera and mic online, test camera and mic online, test camera, test mic, test camera online, test mic online"
/>
<meta name="author" content="Gangadhar Jannu" />
<meta name="theme-color" content="#2F3BA2" />
<link rel="manifest" href="manifest.json" />
<link rel="canonical" href="https://camic.netlify.app" />
</head>
<body>
<main>
<div class="camic-container">
<div class="video-container">
<video id="video" muted controls onplaying="this.controls=false" width="640" height="480">
Sorry, your browser doesn't support embedded videos.
</video>
</div>
<canvas id="volume-meter" width="30"></canvas>
</div>
<!-- help block -->
<div class="help-text">
<!-- overlay text -->
<p class="overlay-text hidden">
All the processing is done inside your browser. No data is shared with anyone.
</p>
<!-- errors -->
<p class="error no-permissions hidden">
You can allow the camera and microphone permissions and reload the page if you really want
to use the application
</p>
<p class="error no-devices hidden">
Your browser doesn't support webcam or microphone. You can also test your webcam through
<a href="https://www.wikihow.com/Test-a-Webcam-on-PC-or-Mac">
https://www.wikihow.com/Test-a-Webcam-on-PC-or-Mac
</a>
</p>
</div>
</main>
<!-- PWA support -->
<button id="butInstall" aria-label="Install" hidden class="hidden"></button>
<script src="install.js"></script>
<!-- Service worker -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/service-worker.js').then((reg) => {
console.log('Service worker registered.', reg);
});
});
}
</script>
<noscript>
Enable JavaScript to test your camera and mic online
</noscript>
</body>
</html>