From 5d32eb8058066164229002f15b131f86748f0e43 Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Thu, 23 Mar 2023 17:48:03 +0100 Subject: [PATCH] fix: exclude onDemandRender from webOS 2 reports getVideoPlaybackQuality as functional, but isn't --- src/plugins/htmlVideoPlayer/plugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index ab38df6d5d..2c48b40878 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1281,7 +1281,8 @@ function tryRemoveElement(elem) { asyncRender: true, // firefox implements offscreen canvas, but not according to spec which causes errors offscreenRender: !browser.firefox, - onDemandRender: true, + // RVFC is polyfilled everywhere, but webOS 2 reports polyfill API's as functional even tho they aren't + onDemandRender: browser.web0sVersion !== 2, useLocalFonts: true, dropAllAnimations: false, libassMemoryLimit: 40,