Setting the video to fullscreen with button click (html/javascript)?

Jun 30, 2011 at 5:03 PM

Hi there,

I'm trying to create fullscreen functionality on button click similar to the way it was done in the "Consuming The SMF Player JavaScript API" example (

Is there a single function that I can call to take care of the fullscreen like play() and pause()? Or will I have to do some coding in my Silverlight project?  If so, could somebody point me in the right direction?


Jul 14, 2011 at 1:25 AM

For security reasons, Silverlight does not support invoking fullscreen mode from js. It can only be done from within the call stack of a user initiated Silverlight event such as a button click.