1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Embed games within a thread?

Discussion in 'XenForo Questions and Support' started by Deepmartini, Dec 9, 2011.

  1. Deepmartini

    Deepmartini Well-Known Member

    Is it possible to embed games (using an iframe) within a thread? Here is an example.

    <iframe src="http://www.freeonlinegames.com/embed.php?g_id=21669" width="800" height="480" scrolling="no" allowTransparency="true" frameborder="0"></iframe>

    I thought this might add some fun to my forum.
  2. Digital Doctor

    Digital Doctor Well-Known Member

    Probably easier to embed the HTML in a Xenforo page ?
  3. Deepmartini

    Deepmartini Well-Known Member

    They give a few ways of adding the game, see here: http://freegamesforyourwebsite.com/game/i-need-air.html Just don't know how to do it. I wanted to post all the games in a forum in their own thread, that way people can leave comments underneath the game and it will help build community.
    Digital Doctor likes this.
  4. Deepmartini

    Deepmartini Well-Known Member

    I see they have a download where you can get the game in an .swf flash file format. Can we embed flash files we upload to our own server on our own forums? Does the Xenforo software allow this is threads without stripping out code?
  5. Digital Doctor

    Digital Doctor Well-Known Member

  6. Digital Doctor

    Digital Doctor Well-Known Member

  7. Deepmartini

    Deepmartini Well-Known Member

    Does this work for embedding iframe code like this?

    <iframe src="http://www.freeonlinegames.com/embed/14357" width="550" height="400" frameborder="no" scrolling="no"></iframe>

    I was able to embed this in a page but couldn't do it in a post.
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Posts don't allow HTML without an add-on.

    Or you can use custom BB Code, again which requires an add-on.

Share This Page