mirror of
https://api.glitch.com/git/yaswvc
synced 2026-01-12 05:08:11 +00:00
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
<!-- This is a static file -->
|
|
<!-- served from your routes in server.js -->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="A cool thing made with Glitch">
|
|
|
|
<title>Welcome to Glitch!</title>
|
|
|
|
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
|
|
<!-- import the webpage's stylesheet -->
|
|
<link rel="stylesheet" href="/style.css">
|
|
|
|
<!-- import libraries -->
|
|
<script src="/lib/peerjs.js"></script>
|
|
|
|
<!-- import the webpage's client-side javascript file -->
|
|
<script src="/main.js" type="module"></script>
|
|
</head>
|
|
<body>
|
|
<video class="remote-video" autoplay></video>
|
|
<input type="text" id="connect-to-peer" />
|
|
<button onclick="connectToPeer()">
|
|
Connect
|
|
</button>
|
|
|
|
<div class="messages">
|
|
|
|
</div>
|
|
|
|
<footer>Made with <a href="https://glitch.com">Glitch</a>!</footer>
|
|
|
|
<!-- include the Glitch button to show what the webpage is about and
|
|
to make it easier for folks to view source and remix -->
|
|
<div class="glitchButton" style="position:fixed;top:2em;right:20px;"></div>
|
|
<script src="https://button.glitch.me/button.js" defer></script>
|
|
</body>
|
|
</html>
|