From 2e66ce13e6c0bcb20de5c1568f857d7bc8677715 Mon Sep 17 00:00:00 2001 From: imchasingshadows Date: Thu, 16 Sep 2021 16:13:29 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/plugins/htmlVideoPlayer/plugin.js | 1 - src/scripts/browser.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 4724fcba0..9161ffb56 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1383,7 +1383,6 @@ function tryRemoveElement(elem) { } } - return videoElement; }); } else { diff --git a/src/scripts/browser.js b/src/scripts/browser.js index dfe538211..672ef23fd 100644 --- a/src/scripts/browser.js +++ b/src/scripts/browser.js @@ -23,6 +23,7 @@ function isTv() { function isWeb0s() { const userAgent = navigator.userAgent.toLowerCase(); + if (userAgent.indexOf('netcast') !== -1) { return true; }