shitted this out in 5 mins
This commit is contained in:
35
public/index.html
Normal file
35
public/index.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Screenshare - Broadcaster</title>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container glass">
|
||||
<h1>Share Your Screen</h1>
|
||||
<p>Broadcast your screen at 1080p 60fps to viewers.</p>
|
||||
<button id="startBtn" class="btn primary-btn">Start Screenshare</button>
|
||||
<div class="status-indicator">
|
||||
<span class="dot" id="statusDot"></span>
|
||||
<span id="statusText">Not Sharing</span>
|
||||
</div>
|
||||
<video id="localVideo" autoplay playsinline muted></video>
|
||||
<div class="info-section">
|
||||
<p>
|
||||
Viewers can watch at:
|
||||
<a href="/viewer.html" target="_blank" class="accent-link"
|
||||
>/viewer.html</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user