4/12/2010

Want to go full frame in ze browser?

Check this: 

If you take a look at the default HTML file generated when building a webplayer, you'll notice that the size of the webplayer is specified there in "width" and "height" HTML properties.
Replacing these specific dimensions with "100%" will scale your web player to the full size of the browser window.
Remember to save your modified HTML file in a different location than where you're building new webplayers to or at least rename it. Otherwise new rebuilds of the webplayer will overwrite your changes.
Also notice that most browsers have a default margin set which will result in a white frame around your content if you set it to 100%, 100%. To remove that, you'll need to add a bit of CSS to the section of your HTML:
<style type="text/css" media=screen>
   body
   {
      margin: 0px;
      padding: 0px;
   }
style>
Source - Unity Answers