diff --git a/app.py b/app.py
index 0632b87..17b2568 100755
--- a/app.py
+++ b/app.py
@@ -55,3 +55,7 @@ def result():
if __name__ == "__main__":
app.run(host='localhost', port=1337, debug=False)
+
+@app.route("/video")
+def video():
+ return render_template("video.html")
diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js
new file mode 100644
index 0000000..5c5e9dc
--- /dev/null
+++ b/static/js/fullscreen.js
@@ -0,0 +1,34 @@
+(function () {
+ const btn = document.createElement('button');
+ btn.id = 'fsBtn';
+ btn.textContent = '⛶';
+ btn.title = 'Follscreen';
+ btn.style.cssText = `
+ position: fixed;
+ top: 0.75rem;
+ right: 0.75rem;
+ z-index: 99999;
+ background: transparent;
+ border: none;
+ color: rgba(255,255,255,0.1337);
+ font-size: 1.25rem;
+ cursor: pointer;
+ padding: 0.25rem 0.5rem;
+ transition: color 0.2s;
+ `;
+ btn.onmouseenter = () => btn.style.color = 'rgba(255,255,255,0.42)';
+ btn.onmouseleave = () => btn.style.color = 'rgba(255,255,255,0.1337)';
+ btn.onclick = () => {
+ if (!document.fullscreenElement) {
+ document.documentElement.requestFullscreen();
+ btn.textContent = '✕';
+ } else {
+ document.exitFullscreen();
+ btn.textContent = '⛶';
+ }
+ };
+ document.addEventListener('fullscreenchange', () => {
+ btn.textContent = document.fullscreenElement ? '✕' : '⛶';
+ });
+ document.body.appendChild(btn);
+})();
diff --git a/static/js/idle.js b/static/js/idle.js
new file mode 100644
index 0000000..b2f5998
--- /dev/null
+++ b/static/js/idle.js
@@ -0,0 +1,16 @@
+(function () {
+ const TIMEOUT_MS = 5 * 60 * 1000;
+ let timer;
+
+ function reset() {
+ clearTimeout(timer);
+ timer = setTimeout(() => {
+ window.location.href = '/video';
+ }, TIMEOUT_MS);
+ }
+
+ ['mousemove', 'mousedown', 'keydown', 'touchstart', 'scroll', 'pointerdown']
+ .forEach(evt => document.addEventListener(evt, reset, { passive: true }));
+
+ reset(); // start the clock on page load
+})();
diff --git a/templates/about.html b/templates/about.html
index 8e4349a..3a6a398 100755
--- a/templates/about.html
+++ b/templates/about.html
@@ -38,5 +38,7 @@
+
+