最小化全屏视频只会退出全屏(WinJs)

时间:2018-11-05 09:46:45

标签: javascript c# .net video winjs

   function requestFulScreen() {
                // First - before requesting full screen - intentionally indicating to the video element to display it's controls.
                // If we don't do this it appears that at first time full screen the video element thinks it's still not full screen
                // resulting in the poor user getting stuck in full screen mode.
                video.controls = !app.isFullScreen();
                if (app.isFullScreen()) {
                    app.exitFullScreen();
                } else {
                    app.requestFullScreen(video);
                }
            }

我具有上述用于全屏视频的方法。但是,如果我在全屏模式下单击“最小化”,则页面不会被最小化,而只是退出全屏显示。可能是WinJs问题吗?还是存在修正?

0 个答案:

没有答案