Android-Video View in Fullscreen

No need of code to play video in full screen mode Apply the following layout format over the xml containing the videoview it will for sure will play the video in full screen mode. as it is running mine 🙂 Hope it helps <?xml version=”1.0″ encoding=”utf-8″?> <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”fill_parent” android:layout_height=”fill_parent” > <VideoView android:id=”@+id/myvideoview” android:layout_width=”fill_parent” android:layout_alignParentRight=”true” … Read more

How to make browser full screen using F11 key event through JavaScript [duplicate]

This is now possible in the latest versions of Chrome, Firefox and IE(11). Following the pointers by Zuul on this thread, I edited his code to include IE11 and the option to full screen any element of choice on your page. JS: function toggleFullScreen(elem) { // ## The below if statement seems to work better … Read more

Is there a way to check to see if another program is running full screen

Here is some code that does it. You want to take care about the multi screen case, especially with applications like Powerpoint [StructLayout(LayoutKind.Sequential)] private struct RECT { public int left; public int top; public int right; public int bottom; } [DllImport(“user32.dll”)] private static extern bool GetWindowRect(HandleRef hWnd, [In, Out] ref RECT rect); [DllImport(“user32.dll”)] private static … Read more

How to hide full screen button of the video tag in HTML5

I think you can accomplish this by changing the css for the #document fragments, these are DOM1 specs and supported by all browsers, but about the styling, I’m not sure. Simple webkit browser (chrome on windows) specific solution The following solution is webkit specific video::-webkit-media-controls-fullscreen-button { display: none; } video::-webkit-media-controls-play-button {} video::-webkit-media-controls-timeline {} video::-webkit-media-controls-current-time-display{} video::-webkit-media-controls-time-remaining-display … Read more

Fullscreen feature for Java Apps on OSX Lion

I found this on Apple’s Java release notes: Mac OS X 10.7 Lion Fullscreen Support Java applications on Lion can now opt into the Fullscreen window feature per-window. Developers can use the com.apple.eawt.FullScreenUtilities class to mark windows as able to be full screened, and the com.apple.eawt.Application.requestToggleFullScreen(Window) method to programmatically request the window enter and exit … Read more

Fullscreen API: Which events are fired?

I was using: $(document).on(‘webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange’, fn); It fires for Safari, Chrome, and Firefox (haven’t tested others). There seems to be a subtle difference in the resulting context between webkit and moz, element height and width are different. But the events fire, which is your question. Oh. And watch out for using alert(‘fs’) with … Read more