forked from Pranavk-official/Signfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_2_corrected.html
59 lines (58 loc) · 2.93 KB
/
index_2_corrected.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SIGNfy</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
</head>
<body class="h-100 text-center text-bg-dark">
<header>
<nav class="navbar navbar-expand-lg bg-body-tertiary bg-dark" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">SIGNfy</a>
<div class="justify-content-end collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about">About</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="px-3">
<div>
<!-- <h2>1. Start your Webcam</h2> -->
<div class="videos">
<h3><span>Local Stream</span></h3><span><video id="webcamVideo" autoplay="" playsinline=""></video></span>
<div id="remote">
<h3><span>Remote Stream</span></h3><span><video id="remoteVideo" autoplay="" playsinline=""></video></span>
<div id="translatedText">
<p>Translated Text</p>
</div>
</div>
</div>
</div>
<div id="chatOption">
<button id="webcamButton" class="btn btn-outline-primary">Start webcam</button> <!-- <h2>2. Create a new Call</h2> -->
<button id="callButton" class="btn btn-outline-success" disabled>Create Call (offer)</button> <!-- <h2>3. Join a Call</h2> -->
<br>
<p>Answer the call from a different browser window or device</p><input id="callInput"> <button id="answerButton" class="btn btn-outline-success" disabled>Answer</button> <!-- <h2>4. Hangup</h2> -->
<button id="hangupButton" class="btn btn-outline-danger" disabled>Hangup</button>
</div>
</main>
<footer class="mt-auto text-white-50">
<p>Made with <a href="https://getbootstrap.com/" class="text-white">Bootstrap</a>, by Group 8.</p>
</footer>
<script type="module" src="/main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest/dist/tf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@teachablemachine/image@latest/dist/teachablemachine-image.min.js"></script>
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script> <!-- <script type="module" src="/object.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>