How do I embed a game app to a blog with html support?

0 favourites
  • 4 posts
From the Asset Store
Controller Support ,TouchScreen Support , Keyboard Support , Action Platformer, Lots of Animations
  • Hello everyone, I have a question that I'd love to resolve it:

    How do I embed a game app that did the construct exported to HTML5, to a blog that supports HTML?

    The game externalmente runs on another domain, but want users to access through my blog.

    What code do I need to put in the new post of my blog?

  • Pode's iFrame! Or rather just iFrames in general, since you are importing into an existing non-C2 website. Basically, you just have an iFrame element in your blog and link it to your game. Just make sure that your game is running on the same domain, otherwise browser security will undo you.

  • Thank you[quote:1dxywy0o]gumshoe 2029

    I'll use iframes, this problem is because I can share Youtube movie on my blog and not my html5 games

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yea, you have to be super careful with the security of iFrames, and browsers will generally block any iFrame request that does not link back to your own domain.

    For example, I had to proxy our developer's blog through my domain, because Chrome blocks all non-SAME ORIGIN iFrame requests.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)