Talk:UnityObject

From Unify Community Wiki

Jump to: navigation, search

[edit] detectUnityWebPlayer

Shouldn't navigator.mimeTypes["application/x-unity"] be navigator.mimeTypes["application/vnd.unity"]? I just tried using unityobject. Using x-unity will return "undefined", so tInstalled will be set to false, but the plugin is installed here. When you publish for web with Unity, it will check on vnd.unity instead of x-unity. Using this worked for me. So I think that should be changed on this page. However I'm sure there's a good reason why x-unity is used on this page, that's why I don't want to change it so far.