diff --git a/webroot/index-video-only.html b/webroot/index-video-only.html
index 748bd4bdc..c9efcbdc4 100644
--- a/webroot/index-video-only.html
+++ b/webroot/index-video-only.html
@@ -5,9 +5,10 @@
-
+
-
+
+
diff --git a/webroot/index.html b/webroot/index.html
index 40a1eb1fd..168ccc6eb 100644
--- a/webroot/index.html
+++ b/webroot/index.html
@@ -23,9 +23,10 @@
-
+
-
+
+
diff --git a/webroot/js/components/player.js b/webroot/js/components/player.js
index 8de03fcf6..05cbe5998 100644
--- a/webroot/js/components/player.js
+++ b/webroot/js/components/player.js
@@ -47,7 +47,7 @@ class OwncastPlayer {
}
init() {
- videojs.Hls.xhr.beforeRequest = function (options) {
+ videojs.Vhs.xhr.beforeRequest = function (options) {
const cachebuster = Math.round(new Date().getTime() / 1000);
options.uri = `${options.uri}?cachebust=${cachebuster}`;
return options;