This page was opened as a local file, so the browser blocks the microphone and the caption connection. Open https://eventsub.my (or the address your organiser gave you) in Chrome or Edge instead.
Running it yourself for testing? Serve the folder over http first (python3 -m http.server 8090) and open http://127.0.0.1:8090/index.html.