Update src/plugins/htmlVideoPlayer/plugin.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
imchasingshadows 2021-09-11 21:03:23 +02:00 committed by GitHub
parent b67a064d75
commit 7f81f5b3f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1367,7 +1367,7 @@ function tryRemoveElement(elem) {
}
if (options.fullscreen) {
if (browser.tv && Screenfull.isEnabled) {
if (!window.NativeShell && browser.web0s && Screenfull.isEnabled) {
Screenfull.request();
return videoElement;
}