From 9fe9dd16408d97f3e166b61dab0aa0c3468be026 Mon Sep 17 00:00:00 2001 From: yoki0805 Date: Thu, 26 Dec 2024 10:34:08 +0800 Subject: [PATCH] Remove fullScreen check from video player web (#17914) --- cocos/video/video-player-impl-web.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cocos/video/video-player-impl-web.ts b/cocos/video/video-player-impl-web.ts index 72e6f374464..600b9f2a0a8 100644 --- a/cocos/video/video-player-impl-web.ts +++ b/cocos/video/video-player-impl-web.ts @@ -330,10 +330,6 @@ export class VideoPlayerImplWeb extends VideoPlayerImpl { return; } - if (screen.fullScreen()) { - return; - } - // use stayOnBottom if (this._dirty) { this._dirty = false;