45 lines
1.2 KiB
HTML
45 lines
1.2 KiB
HTML
<!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>
|
|
<!-- //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>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container-fluid">
|
|
<div class="row ">
|
|
<div class="col-md-auto">
|
|
<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>
|
|
<video id="localVideo" style="width: 100%; height: 100%;" controls></video>
|
|
</div>
|
|
|
|
|
|
|
|
<script src="main.mjs" type="module">
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|