fullscreen

Mac Kiosk Mode API - Prevent Users from Quitting

六月ゝ 毕业季﹏ 提交于 2019-12-22 08:52:04
问题 I'm in the process of writing a Mac (10.6 / 10.7) application that authenticates users against an Active Directory domain before allowing them access to the computer (I'm told I can't allow users to log on via traditional log on services). I have the authentication code in place, and am now trying to make this login window fullscreen and unable to close. Apple's Kiosk Mode API (documentation here) seems like a great fit for this, and I've used it to bring the window fullscreen, disable the

jQuery: How to execute code when exiting fullscreen mode with escape button?

孤者浪人 提交于 2019-12-22 07:46:32
问题 Following problem: With my code I enter fullscreen mode by clicking on an image in a list. I moved my next-button and my prev-button to the edge of the screen via jQuery. But after leaving fullscreen mode I want them back in their original position. But how can I detect if the fullscreen mode has been cancelled? Here is my code: HTML: <div id="slider-control-left"><span id="slider-prev"></span></div> <div id="slider"> <ul class="bxslider"> <li><img ... /></li> ... <li><img ... /></li> </ul> <

Is possible automatic fullscreen with html5?

蹲街弑〆低调 提交于 2019-12-22 04:54:06
问题 I'm based on Using the Fullscreen API in web browsers (http://hacks.mozilla.org/2012/01/using-the-fullscreen-api-in-web-browsers ) for fullscreen , but only works with a click event or with console firebug, not with submit event or mouseover or similar for made automatic. Is possible automatic fullscreen with html5 without click event or similar ? Edit: I understand the security and accessibility reasons if not possible, but in some environments this can be hopeful. 回答1: No, it's not possible

Keep fullscreen api in fullscreen after clicking on a link

为君一笑 提交于 2019-12-22 04:42:50
问题 I am using the HTML5 fullscreen API so users can view my website in fullscreen, however when a user clicks a link (such as a menu item) the user switches back to the normal browser mode. How can I keep the browser in fullscreen when the user clicks certain links? Preferably without having to convert the whole website to an AJAX page load system. 回答1: It will not be possible to do this without converting to an AJAX loading system. When you navigate to a different page, the DOM tree is

How to make LibGDX Desktop go fullscreen by default

↘锁芯ラ 提交于 2019-12-22 04:37:08
问题 all. Just wondering how to make my desktop app go fullscreen upon start up. I am new to LibGDX and any help is greatly appreciated. Thank you. 回答1: Just define fullscreen field in your LwjglApplicationConfiguration : LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); cfg.title = "yourGame"; cfg.width = 1024; cfg.height = 768; cfg.fullscreen = true; new LwjglApplication(new ...(), cfg); 回答2: To start your game with fullscreen mode set the following flags in

as3 video full screen mode

丶灬走出姿态 提交于 2019-12-21 22:37:35
问题 I have created a video player, but need to add a button that, when clicked, puts the video into full-screen viewing mode. I don't want to scale everything on the stage - just the video. I can't seem to find how to do this - I thought it would be easy. 回答1: See if this works: stage.displayState = StageDisplayState.FULL_SCREEN; videoPlayer.x = 0; videoPlayer.y = 0; //save the width and height in temp vars //for restoring them later. videoPlayer.width = stage.fullScreenWidth; videoPlayer.height

Disable power button… or… Resume full screen in Android toddler app

[亡魂溺海] 提交于 2019-12-21 20:03:38
问题 I'm creating an Android app for toddlers. So, I need to lock as many buttons as possible to prevent the toddler from accessing other features of the Android device. Basically, I'm looking to reproduce the locking mechanism in popular toddler apps like "Toddler Lock". I have logic that requires the user to tap the four corners of the screen in a clockwise motion to exit the app. To show the app in full-screen I have the following in my manifest android:theme="@android:style/Theme.NoTitleBar

Strange overlapping bug between navigation and status bars when rotating fullscreen videos in iPad

强颜欢笑 提交于 2019-12-21 19:59:03
问题 I'm implementing a video player inside my application and strange things happen when rotating the iPad when the video player is working in full screen. My test case is kind of easy: 1.- I set orientation to Vertical 2.- I start video playing (non full screen) 3.- I set full screen 4.- I rotate the iPad while in fullscreen and set it to horizontal 5.- I go back to "non full screen" 6.- Navigation and status bar become overlapped overlapped in a very silly way. Look: 7.- Then I rotate the iPad

Full screen video issue when using animate.css in Chrome

萝らか妹 提交于 2019-12-21 19:43:21
问题 I have a page that has a video using the video tag. Also, my page uses the animate.css to add some animations to my elements. The issue is that when I use a style in the animate.css, My video does not go to full screen correctly. This is a sample of my page: <div id="wrapper"> <div id="page-wrapper" class="gray-bg dashbard-1"> <h2 id="sv_title">Here is some text for illustration</h2> <div class="animated fadeInRight"> <video src="http://www.w3schools.com/html/mov_bbb.mp4" controls=""></video>

SDL - Get native Screen Resolution

浪子不回头ぞ 提交于 2019-12-21 19:27:43
问题 My code: window.cpp Window::Window(int w, int h, const char *title, const char *icon) { height = h; width = w; if(SDL_Init( SDL_INIT_EVERYTHING ) == 0) { SDL_WM_SetCaption(title, NULL); SDL_WM_SetIcon(SDL_LoadBMP(icon),NULL); screen = SDL_SetVideoMode(width, height, 32, SDL_SWSURFACE | SDL_RESIZABLE | SDL_DOUBLEBUF); if(screen == NULL) { running = false; return; } fullscreen = false; } else running = false; return; } Window::Window() { const SDL_VideoInfo* info = SDL_GetVideoInfo();