From 469767aa50d0d3c5c8cecfd3571abede343b8d8b Mon Sep 17 00:00:00 2001 From: Kay Simons Date: Sat, 4 Sep 2021 13:12:48 +0200 Subject: [PATCH] fix: return videoelement immediately after going fullscreen on tv --- src/plugins/htmlVideoPlayer/plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index c6e9eed542..ed8a08c5ee 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1372,6 +1372,7 @@ function tryRemoveElement(elem) { if (options.fullscreen) { if (browser.tv && Screenfull.isEnabled) { Screenfull.request(); + return videoElement; } // don't animate on smart tv's, too slow if (!browser.slow && browser.supportsCssAnimation()) {