add embed page

This commit is contained in:
2026-02-24 07:50:31 +01:00
parent 475d64c8ba
commit 5303cdaa2f
2 changed files with 56 additions and 17 deletions

33
public/embed.html Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Screenshare - Embed</title>
<style>
body, html {
margin: 0;
padding: 0;
background: #000;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
overflow: hidden;
}
video {
width: 100%;
height: 100%;
object-fit: contain;
}
</style>
</head>
<body>
<video id="remoteVideo" autoplay playsinline controls muted></video>
<script src="/socket.io/socket.io.js"></script>
<script src="mediasoup-client.js"></script>
<script src="viewer.js"></script>
</body>
</html>