Merge branch 'master' into 0809gw-messagemodule

This commit is contained in:
Ginger Wong
2020-08-23 21:29:07 -07:00
19 changed files with 28 additions and 561 deletions

View File

@@ -49,10 +49,7 @@ class OwncastPlayer {
init() {
videojs.Hls.xhr.beforeRequest = function (options) {
const cachebuster = Math.round(new Date().getTime() / 1000);
options.uri = options.uri + "?omgwtf=" + cachebuster;
options.headers = {
'Cache-Control':'no-cache'
};
options.uri = `${options.uri}?cachebust=${cachebuster}`;
return options;
};