Play a Web Player on Google Sites?

I know this question may be over asked, but I can’t figure it out, even though I looked at some other posts.

So I have my built game with the included .html and .unity3d file. When I run the html on my computer, it runs fine, but when I added the html to my Google Site and attached the unity3d file in the site attachments, it still doesn’t work. I even changed the game location to

u.initPlugin(jQuery("#unityPlayer")[0], "https://sites.google.com/site/SITENAME/COD%20Web.unity3d")

It’s supposed to be on one line, but this formatting has it on two. The actual URL downloads the file.

What I’m wondering is how to correctly link the attachment (.unity3d file) into the html so it will play the game.

Try this link from the forums:

forum.unity3d.com/threads/168657-Memory-Bomb-The-Game-That-Tests-Your-Memory

It’s the last post on the page.
Joshbot5 replies to landon91235 about how he got the game on his google sites page.

I tried this and it worked.

The older versions of this player haven’t been updated and don’t work.

http://hosting.gmodules.com/ig/gadgets/file/107336974425229758999/unity1.xml

I figured it out (a while ago…) and I need to use the iframe module under More Modules… Paste a public link from Dropbox into the URL part and it works.

It no longer works to run a webGL file on google sites. But if you embed the file onto a web hosting service (Weebly works great), then you can add a website to your google sites so that your game appears on your website