Hello,
after manually updating Chromium on my raspberry it no longer resolves the userAgent query in playerlib.js @line248:
GLOBAL.userAgent.indexOf('CrOS') != -1 ? GLOBAL.chromium = true : GLOBAL.chromium = false;
as the userAgent now resolves to:
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36'
May I suggest to change the query to a more general one, independent of the browser signature?
e.g. I changed the query to
window.location.href.indexOf('localhost') != -1 ? GLOBAL.chromium = true : GLOBAL.chromium = false;
to detect if the this is the machine, where moOde is running on?
Cheers, Stephan
Hello,
after manually updating Chromium on my raspberry it no longer resolves the userAgent query in playerlib.js @line248:
GLOBAL.userAgent.indexOf('CrOS') != -1 ? GLOBAL.chromium = true : GLOBAL.chromium = false;as the userAgent now resolves to:
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36'May I suggest to change the query to a more general one, independent of the browser signature?
e.g. I changed the query to
window.location.href.indexOf('localhost') != -1 ? GLOBAL.chromium = true : GLOBAL.chromium = false;to detect if the this is the machine, where moOde is running on?
Cheers, Stephan