Widgets How to disable Full Screen Mode (Silverlight 1.0)


I dream in code

About the author

Robert Williams is an internet application developer for the Salem Web Network.
E-mail me Send mail
Go Daddy Deal of the Week: 30% off your order at! Offer expires 11/6/12

Recent comments




Code Project Associate Logo


The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

How to disable Full Screen Mode (Silverlight 1.0)

Is there any way to disable the fullscreen mode or disable the double click event for a Media Player built with Microsoft Expression Encoder?

Yes. Edit BasePlayer.js:


_onFullScreen:function(){var a=this.get_element().content;a.fullScreen=!a.fullScreen} 


_onFullScreen:function(){var a=this.get_element().content;a.fullScreen=false}

I tried various methods to overide this method in the inherited Extended Player Class, but without success. Perhaps there are private member variables that the inherited class cannot access, or perhaps I was doing something wrong. In any case, this method works. If you know of a better one, let me know.

Posted by Williarob on Saturday, December 27, 2008 6:33 PM
Permalink | Comments (1) | Post RSSRSS comment feed
blog comments powered by Disqus