Allow Silverlight (and Flash) Apps To Remain Full Screen

Martin Peck picture Martin Peck · May 22, 2009 · Viewed 9.3k times · Source

I'm writing a Silverlight application that can go full screen (think YouTube full screen). This is simple enough. However, I want to offer the user the ability to KEEP the app full screen even if they click away.

Many users have multiple monitors and so it doesn't always make sense to shrink the app back into the browser. At present, if they make my app full screen they see the "Press ESC to exit full screen" message and then any clicks to apps on their other monitor causes the full screen Silverlight app to shrink back.

I believe this behaviour of Silverlight (and Flash for that matter) is a security feature to prevent people writing apps that remain full screen. However, I'm wondering if there's an "opt in" way of letting users say "I don't mind this app remaining full screen".

I'm also interested in knowing whether this can be done with Flash.

Answer

Geir-Tore Lindsve picture Geir-Tore Lindsve · Nov 18, 2010

Full screen pinning mode was added to Silverlight 4:

http://www.silverlight.net/learn/videos/all/fullscreen-window-pinning/