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问题吗?还是存在修正?