Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity game on Google Sites?

Discussion in 'Editor & General Support' started by boolfone, Nov 14, 2014.

  1. boolfone

    boolfone

    Joined:
    Oct 2, 2014
    Posts:
    289
    I built a Flash version of a Unity game, and I'd like to try it out on the web.

    So, I tried go put it on a Google web site, but I can't figure out how to do it.

    I saw these instructions and tried them:

    https://sites.google.com/site/paulkellygd/articles/hosting-a-unity-game-on-google-sites

    However, they do not seem to work.

    When I try to add a gadget by URL, the Add button is grayed out for some unknown reason:

    add-gadget-by-url.png

    Anyone know a way to get a Unity game on Google Sites?

    Thanks.
     
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Pretty sure the documentation that Paul wrote refers to web player builds of a game.
     
  3. boolfone

    boolfone

    Joined:
    Oct 2, 2014
    Posts:
    289
    That's what I'm referring to as well.
     
  4. static_cast

    static_cast

    Joined:
    Aug 25, 2013
    Posts:
    25
    Well, if you can't get that to work, you could insert this custom HTML:

    Code (csharp):
    1.  
    2. <object id='UnityObject' classid='clsid:444785F1-DE89-4295-863A-D46C3A781394' style='width: 800px; height: 600px;">
    3.     <embed id='UnityEmbed' src='MYUNITYFILEHERE.unity3d'style='width: 100%; height: 100%' />
    4. </object>
    5.  
     
  5. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Oh sorry, I thought you were building a Flash game.
     
  6. boolfone

    boolfone

    Joined:
    Oct 2, 2014
    Posts:
    289
    Sorry for the confusion. I did say Flash as I thought Unity used Flash for the web player builds. I guess it uses something else though.