• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by icebird1942 · Sep 12, 2013 at 09:03 PM · gamewebplayergoogle sites

Play a Web Player on Google Sites?

I know t$$anonymous$$s 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 t$$anonymous$$s 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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Doctor Goddess · Sep 19, 2013 at 04:18 PM

Try t$$anonymous$$s 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 $$anonymous$$s google sites page.

I tried t$$anonymous$$s and it worked.

The older versions of t$$anonymous$$s player haven't been updated and don't work.

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by icebird1942 · Dec 17, 2013 at 09:32 PM

I figured it out (a w$$anonymous$$le 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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by argentummanusbeta · Apr 25, 2018 at 02:02 PM

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to upload game for online playing? 1 Answer

Publishing a web build onto the web? 2 Answers

How to embed a unity game in a google sites website. 3 Answers

No web preview in the Game tab? 1 Answer

Game online doesn't load (but works) and requests WebPlayer download despite already installed 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges