Spaces:
Sleeping
Sleeping
Create public/viewer.html
Browse files- public/viewer.html +15 -0
public/viewer.html
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Viewer</title>
|
| 7 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js"></script>
|
| 8 |
+
<script src='viewer.js'></script>
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
<h1>Viewer</h1>
|
| 12 |
+
<video autoplay id='video'></video>
|
| 13 |
+
<button id="my-button">View Stream</button>
|
| 14 |
+
</body>
|
| 15 |
+
</html>
|