Skip to content

Instantly share code, notes, and snippets.

View brunchboy's full-sized avatar

James Elliott brunchboy

View GitHub Profile
@brunchboy
brunchboy / overlay.html
Last active July 1, 2021 00:23
Simpler OBS overlay template for Beat Link Trigger
<html>
<head>
<title>OBS Overlay</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<script>
/** How often to check for changes when no player is playing. */
const idleInterval = 500;
/** Keeps track of the previous player state, so we can look for changes. */
var lastState;