After exporting my game made with unity, I got two files web.html and web.unity3d
I want to embed this game in a phonegap app. I used this code:
<object id="UnityObject"
classid="clsid:444785F1-DE89-4295-863A-D46C3A781394"
width="1024"
height="768"
codebase="http://webplayer.unity3d.com/download_webplayer/UnityWebPlayer.cab#version=2,0,0,0">
<param name="Web/Web.unity3d"
value="Web.unity3d" />
<embed id="UnityEmbed"
src="Web/Web.unity3d"
width="1024"
height="768"
type="application/vnd.unity"
pluginspage="http://www.unity3d.com/unity-web-player-2.x" />
</object>
This code works on the browser but nothing shows when I build with xcode.