From 40fbe4f05a5da84bb72fd88800f0f54c05c99365 Mon Sep 17 00:00:00 2001 From: KabanFriends Date: Tue, 9 Jan 2024 10:21:48 +0900 Subject: [PATCH] Remove android chrome temp fix --- public/js/player.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/public/js/player.js b/public/js/player.js index 6d08b9f..acace82 100644 --- a/public/js/player.js +++ b/public/js/player.js @@ -1,4 +1,4 @@ -const mobile = new MobileDetect(window.navigator.userAgent); +//const mobile = new MobileDetect(window.navigator.userAgent); let player; @@ -18,11 +18,6 @@ function start(name) { unmuteOverlay: "hidden", }; - if (mobile.is("AndroidOS") && !!window.chrome) { - console.log("Set preferred renderer to WebGL as the client uses Chrome on Android (https://bugs.chromium.org/p/chromium/issues/detail?id=1510149)") - player.config.preferredRenderer = "webgl"; - } - player.load({ url: url }); }