Embedding games on New Google sites
scottwood
Member, PRO Posts: 68
Anyone had any luck doing this?
The latest version of Google sites allows for an embed code, but the syntax offered by the Gamesalad arcade does not work. Google have always been very picky about what html etc is allowed to run in the widgets on their sites, so it's no surprise - just wondering if anyone has managed to find a workaround.
Comments
Hello, I experienced the same issue. Any solution available?
what google site?
@adriangomez i think they mean "google sites" as in the feature on google that lets you build websites.
@scottwood @brjoseph@materdei.org I haven't tried it yet, but I'll take a look tomorrow and see what's needed.
So I tried it with my two games I did for game jams and they work with some spacing issues that I don't know if I can resolve. Basically, Google Sites does not want an iFrame but it will embed the game url. Use the URL inside the iframe as the URL for embed.
The embed iframe from game salad:
<iframe src='http://e.gsrca.de/157451?s=560&mode=embed' width='560' height='1026' allowtransparency='true' scrolling='no' style='border:none;' mozallowfullscreen webkitallowfullscreen allowfullscreen />
Use this portion:
http://e.gsrca.de/157451?s=560&mode=embed
In here:
Here is what it looks like with no changes to the google site. I can imagine you can adjust the iframe parameters from google's side.
https://sites.google.com/view/gamesaladtest/home