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...
asked Aug 24 '11 at 06:43 AM
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.
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.
answered Aug 24 '11 at 12:55 PM