fix: return videoelement immediately after going fullscreen on tv

This commit is contained in:
Kay Simons 2021-09-04 13:12:48 +02:00
parent 104e72fc4f
commit 469767aa50

View file

@ -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()) {