Skip to content

Instantly share code, notes, and snippets.

@DannyBen
Last active December 24, 2015 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DannyBen/6823749 to your computer and use it in GitHub Desktop.
Save DannyBen/6823749 to your computer and use it in GitHub Desktop.
Dropbox compatible HTML for showing Unity Player
<doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity Web Player</title>
</head>
<body>
<embed type="application/vnd.unity" width="960" height="640" tabindex="0" firstframecallback="unityObject.firstFrameCallback();" src="WebBuild.unity3d" style="display: block; width: 100%; height: 100%;">
<div style="text-align:center">
<a href="http://unity3d.com/webplayer/">Install Unity Web Player</a>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment