From 62e55d4b1e8a595e4bc33b2e9f839cf78e3edcbe Mon Sep 17 00:00:00 2001 From: "Agajan J." Date: Tue, 24 Jun 2025 00:36:20 -0700 Subject: [PATCH] fix: Another Sony Bravia TV Playready Failure (#8791) Fixes https://github.com/shaka-project/shaka-player/issues/8790 There is another Sony TV model (called Bluefin) that also requires little endianness conversion. Future proofed Sony tv detection to include all the G models. --- lib/device/default_browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/device/default_browser.js b/lib/device/default_browser.js index 4021082c4..a9fa20d25 100644 --- a/lib/device/default_browser.js +++ b/lib/device/default_browser.js @@ -69,7 +69,7 @@ shaka.device.DefaultBrowser = class extends shaka.device.AbstractDevice { /** @private {!shaka.util.Lazy} */ this.isSonyTV_ = new shaka.util.Lazy(() => { - return navigator.userAgent.includes('sony.hbbtv.tv.G5'); + return navigator.userAgent.includes('sony.hbbtv.tv'); }); }