I need the html wrapper for the web player to let the player go 'full window' (not full screen mind you). That is, I want it to fill the div/frame/window of whatever it's sitting in.
I tried putting '100%' in where ever I could see (but not in the .js file). This got me as far as it going full-width, but the height is always about 400 pixels.
What's the best way of accomplishing this?
asked Feb 04 '11 at 09:03 PM
add margin: 0px 0px to the body style and div.content style
add this code to the script GetUnity():
that may be more than you need but it works for me. When the page loads, it will set the game resolution to the current window size, so if they resize the window, it stays the same. If you want that to stretch to fit dynamically, that's something else.
answered Feb 04 '11 at 11:01 PM