Can I change the webplayer size without the need to reload the player?

If a user drags their browser window smaller and larger I’m doing a little javascript to resize the webplayer, however, currently the webplayer always reloads when doing this. Can the window be rescaled like this without the need for a reload?


I’ve checked their HTML (show source) and found this very simple HTML/javascript in the browser:

unityObject.embedUnity(“unityPlayer”, “marsexplorer.unity3d?v2”, “100%”, “100%”, params);
what it does is that it tells the browser to automatically scale this plugin/embed/object to 100% of browser.

next you will have to make sure inside Unity that you scale your content accordingly to what you want, as it could get stretched wrongly.