mirror of https://github.com/nealey/convulse.git
50 lines
1.2 KiB
HTML
50 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Convulse</title>
|
|
<link rel="stylesheet" href="convulse.css">
|
|
<script src="convulse.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="hello">
|
|
<h1>Convulse: it's sorta like Twitch!</h1>
|
|
<p>
|
|
I need the following permissions:
|
|
</p>
|
|
<dl>
|
|
<dt>Use your microphone</dt>
|
|
<dd>So I can record your velvety-smooth voice</dd>
|
|
|
|
<dt>Use your camera</dt>
|
|
<dd>So I can record your velvety-smooth face</dd>
|
|
|
|
<dt>Share your screen</dt>
|
|
<dd>So I can record your velvety-smooth computer</dd>
|
|
</dl>
|
|
</div>
|
|
|
|
<canvas></canvas>
|
|
|
|
<div id="videos" class="hidden">
|
|
<video id="webcam"></video>
|
|
<video id="desktop"></video>
|
|
</div>
|
|
|
|
<div id="controls">
|
|
<p>
|
|
UR FACE
|
|
<input id="webcam-size" type="range" min="0.05" max="1.0" step="0.05" value="0.2">
|
|
<button id="webcam-pos">Move</button>
|
|
</p>
|
|
|
|
<p>
|
|
Capture Area
|
|
<input id="capture-size" type="range" min="0.04" max="1.0" step="0.05" value="0.2">
|
|
<button id="range-pos">Move</button>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="toasts"></div>
|
|
</body>
|
|
</html>
|