Amazon.com Widgets All posts tagged 'encoder'

WilliaBlog.Net

I dream in code

About the author

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

Recent comments

Archive

Authors

Tags

Disclaimer

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:

Change:

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

To:

_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