ScreenSharingThing/public/index.html

45 lines
1.2 KiB
HTML
Raw Normal View History

2021-12-04 15:59:25 +00:00
<!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.0">
<title>SimpleStream</title>
2022-03-29 08:50:15 +00:00
<!-- //asset self hosting for non internet environments
//TODO: improve this later with correct tools like bundeling
-->
<link href="./css/bootstrap.min.css" rel="stylesheet">
<script src="./lib/jquery.min.js"></script>
<script src="./lib/bootstrap.bundle.min.js"></script>
<script src="./lib/peerjs.min.js"></script>
2021-12-04 15:59:25 +00:00
</head>
<body>
2022-03-29 08:50:15 +00:00
<div class="container-fluid">
<div class="row ">
<div class="col-md-auto">
2021-12-04 15:59:25 +00:00
<h1>SimpleStream</h1>
<h2>Your ID: <span id="streamId"></span></h2>
<div id="streamURLCont">
<h2>Connect URL: <a id="streamURL"></a></h2>
</div>
<div id="connectToCont">
<h2>Connecting to: <span id="connectToID"></span></h2>
<button id="startStramBTN">Start Stream</button>
</div>
</div>
</div>
2022-03-29 08:50:15 +00:00
<video id="localVideo" style="width: 100%; height: 100%;" controls></video>
2021-12-04 15:59:25 +00:00
</div>
<script src="main.mjs" type="module">
</script>
</body>
</html>