3.0 Unity Installer

When building our project as webplayer with Unity 2.6 the generated HTML would work in just about any browser, and even if you have Javascript disabled. However currently, with Unity 3.1 it seems to be dependant of the client having Javascript enabled.

An external javascript is loaded, which creates this UnityObject, which can inject the HTML in the correct element. But when the user does not have Javascript enabled the unity object wont be loaded at all and he would be asked to install Unity.

Why is the Unity object injected, instead of just putting it in the HTML? I dont really see any benefit too it, and now i have to include some akward minified Javascript inside my project.

The system used in the default template was simply considered to be the easiest and most general way to handle embedding. You can define your own webplayer HTML templates as described here.