<script>
// embed video url based on page name, and add a ?t=foo datestamp to work around caching issues
-matchResult = window.location.pathname.match(RegExp("\/2021\/live/(jupiter|saturn|neptune)/?"));
+matchResult = window.location.pathname.match(RegExp("\/2021\/(registered/|libreadventure-iframe/|)live/(jupiter|saturn|neptune)/?"));
if (matchResult !== null) {
- document.getElementById("speaker-video").src = "https://live.fsf.org/stream-room-" + matchResult[1] + ".webm?t=" + (new Date() * 1);
+ document.getElementById("speaker-video").src = "https://live.fsf.org/stream-room-" + matchResult[2] + ".webm?t=" + (new Date() * 1);
}
</script>