Files
yass/public/viewer.html

41 lines
1.5 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">
<link href="https://vjs.zencdn.net/8.10.0/video-js.css" 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>
</div>
<div class="video-wrapper" id="videoWrapper">
<video
id="remoteVideo"
class="video-js vjs-theme-city vjs-big-play-centered"
controls
preload="auto"
playsinline
>
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a
web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
</p>
</video>
</div>
</div>
<script src="https://vjs.zencdn.net/8.10.0/video.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="viewer.js"></script>
</body>
</html>