Webplayer: Switch to fullscreen via HTML-Button?

Hi,

any known workarounds so i can switch the unity content to fullscreen when i press a HTML Button?
When i pressed, i want to call a javascript function that communicates via "GetUnity.SendMessage("GameObject, “StringHTML”, “test”);

In that “StringHTML”-function there´s my fullscreen switch function:
Screen.SetResolution(1024, 768, true);

When i call this function from a unity gui button, the screen switches to fullscreen.
When press the html-button, any guitext in the unity content gets updated but the “SetResolution” doesn´t switch to fullscreen.

Any ideas how to force that?
Thanks for your time…

I think its a security issue, because if the browser could spawn the fullscreen, then someone could use this to fake another screen/interface when you open the website.

So my answer would be “no, you shouldnt be able to go into fullscreen from HTML/embedded javascript on a webpage”

The same thing goes for Flash which also has a fullscreen mode. I believe this was made a standard among browser developers to ensure that noone could fake a bank or transaction using some browser plugin.

I believe this also is why every fullscreen can be exited pressing ESC.