Files
yass/public/viewer.html

27 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Screenshare - Viewer</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="viewer-container">
<div class="overlay glass" id="overlay">
<h1>Waiting for stream...</h1>
<div class="status-indicator">
<span class="dot pulse"></span>
<span>Connecting to Broadcaster</span>
</div>
<p style="margin-top:20px; font-size: 0.9rem; color: var(--text-secondary);">Click anywhere to enable audio once connected</p>
</div>
<video id="remoteVideo" autoplay playsinline controls muted></video>
</div>
<script src="/socket.io/socket.io.js"></script>
<script src="mediasoup-client.js"></script>
<script src="viewer.js"></script>
</body>
</html>