fullscreen

Video 100% width and height

て烟熏妆下的殇ゞ 提交于 2019-11-28 22:34:25
I have a video, and I want it to FILL 100% of the width, and 100% of the height. And keep the aspect ratio. Is it possible that it at least fills 100% for both? And if a bit of the video has to be out of the screen to keep the aspect ratio, that doesn't matter. HTML: <video preload="auto" class="videot" id="videot" height="100%" preload> <source src="BESTANDEN/video/tible.mp4" type="video/mp4" > <object data="BESTANDEN/video/tible.mp4" height="1080"> <param name="wmode" value="transparent"> <param name="autoplay" value="false" > <param name="loop" value="false" > </object> CSS: .videof,

Eclipse Luna 4.4 fullscreen

纵饮孤独 提交于 2019-11-28 22:28:48
问题 How to switch to fullscreen editor mode in Eclipse Luna 4.4? I know the ^m shortcut for maximizing current editor window, but it's not what F11 fullscreen gives in Chrome or in SublimeText. 回答1: Eclipse Neon (4.6) Details in M7: The Full Screen feature is now also available on Windows and Linux. You can toggle the mode via shortcut ( Alt + F11 ) or menu ( Window > Appearance > Toggle Full Screen ). 回答2: I am not sure whether it works on eclipse Luna.This plugin works on eclipse kepler. Blog

How to set activity to fullscreen mode in Android? [duplicate]

时间秒杀一切 提交于 2019-11-28 22:23:13
问题 This question already has answers here : Fullscreen Activity in Android? (28 answers) Closed 6 years ago . How to set full screen mode for activity in Android? I am using the following code to set full screen but it generates an error: Exception: android.util.AndroidRuntimeException: requestFeature() must be called before adding content. Code: getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); requestWindowFeature(Window.FEATURE_NO

Having custom controls still apply when go fullscreen on a HTML5 video?

本小妞迷上赌 提交于 2019-11-28 21:44:20
I've made custom controls for my HTML5 video but I don't know how to have that CSS still apply when I go fullscreen. Here's the [website] I've based my controls on. On this site, you'll notice that when you click the fullscreen button the custom controls get lost and the video reverts to the default <video> controls. Does anyone know how to have these custom controls styling/CSS still apply when you go fullscreen? i answered my own question, the key is that the custom controls are inside the <div> that includes the video that you want to take full screen. In my code below, this <div> is called

How to make a JFrame really fullscreen?

别来无恙 提交于 2019-11-28 21:17:31
In my Java application I try to make a JFrame really fullscreen by using this code: public class MainFrame extends JFrame { private static final long serialVersionUID = 1L; public MainFrame() { super(); this.setTitle(); this.setUndecorated(true); this.setExtendedState(JFrame.MAXIMIZED_BOTH); this.setVisible(true); //this.pack(); } } But on my Mac I can still see the Dock and the top toolbar of the OSX. So how can I create a JFrame that really consumes my whole screen? EDIT I have to add that I want to call that JFrame from a eclipse plugin. I haven't tried it yet, but Java has fullscreen API,

java & fullscreen over multiple monitors

混江龙づ霸主 提交于 2019-11-28 20:47:45
A snippet from my Java application: JFrame f = new JFrame(); GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gd = ge.getDefaultScreenDevice(); gd.setFullScreenWindow(f); So what it does is make it self fullscreen. Now the odd thing is that the program is fullscreen but only on one monitor! E.g. I have a windows vista system with two screens that are combined in one desktop. What to do automatically let it go fullscreen over all monitors? Ok I tried that: import java.awt.image.ColorModel; import java.awt.GraphicsConfiguration; import java.awt

Samsung Galaxy S8 full screen mode

折月煮酒 提交于 2019-11-28 20:21:17
问题 Latest Samsung's smartphone has interesting feature called full screen (or in marketing terms infinity display ). In this mode app covers also part of display where home/back buttons are. Usual apps don't cover this area, leaving it black. But Samsung's native ones cover this area. Question: how to achieve this effect? I mean what kind of manifest declaration or programmatic call (possibly Samsung's legacy API) should I use? 回答1: To enable new Samsung Galaxy S8 and LG G6 full screen support

MPMoviePlayerController breaks/stops after going to fullscreen in iOS6

放肆的年华 提交于 2019-11-28 20:00:52
问题 I have a MPMoviewPlayerViewController embedded into an UIView object. When I start the player in the embedded mode everything works fine and as expected. If the user then taps onto the fullscreen toggle (or if I change to fullscreen programmatically using setFullscreen:animated ) the player goes fullscreen, the movie plays for another second and after that the screen goes black with only a " Loading... " message. This behavior only appears using iOS 6 (also iPad 6.0 Simulator), on devices

MPMoviePlayerController fullscreen quirk in iPad

杀马特。学长 韩版系。学妹 提交于 2019-11-28 17:56:29
问题 I want to show a MPMoviePlayerController in a view controller and let the user toggle full screen with the default controls, like the YouTube app. I'm using the following code in a bare-bones example: - (void)viewDidLoad { [super viewDidLoad]; self.player = [[MPMoviePlayerController alloc] init]; self.player.contentURL = theURL; self.player.view.frame = self.viewForMovie.bounds; self.player.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; [self

how to make a full screen div, and prevent size to be changed by content?

不羁岁月 提交于 2019-11-28 17:48:35
for my web application, i would like the main div to be full screen (both width and height = 100%), and regardless of content, i want it to stay at that size. that means, if there are not much content, it shouldn't shrink, and if there are too much content, it shouldn't push this main div. how can i do this? (i'm ok with hacks applied to this div, as long as it will keep contents hack-free) Or even just: <div id="full-size"> Your contents go here </div> html,body{ margin:0; padding:0; height:100%; width:100%; } #full-size{ height:100%; width:100%; overflow:hidden; /* or overflow:auto; if you