-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (44 loc) · 2.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<title>BBC Presenter Timer</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="stylesheet" href="style.css">
<script src="https://unpkg.com/[email protected]/dist/peerjs.min.js"></script>
<script type="module" src="script.js"></script>
</head>
<body>
<h1>Presenter Timer</h1>
<canvas width="640" height="360" class="timer"></canvas>
<video playsinline autoplay muted width="640" height="360" class="renderedTimer"></video>
<section>
<div class="field">
<label for="endTime">End time</label>
<input type="datetime-local" id="endTime">
<button id="applyEndTimeButton">Apply</button>
</div>
<div class="field">
<label for="note">Note</label>
<input placeholder="Displays under remaining time" id="note">
<button id="applyNoteButton">Apply</button>
</div>
<div class="field">
<button id="clearEndTimeButton">Clear end time</button>
<button id="clearNoteButton">Clear note</button>
</div>
</section>
<section>
<p class="ownPeerId"></p>
<div class="field">
<label for="connectPeerId">Peer ID</label>
<input id="connectPeerId">
<button id="connectButton">Connect</button>
</div>
<p class="connectionMessage">Ready to connect</p>
</section>
<p><em>Presenter Timer</em> is a tool for conducting time-slotted presentation sessions that is intended to remind speakers of their remaining time.</p>
<p>The display readout can be shown by your browser in a picture-in-picture mode that can be overlaid on top of the presenter view of your favourite presentation software.</p>
<p>© 2023 BBC. Built by James Livesey.</p>
</body>
</html>