This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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; |