Question: Embedding Multiple Html5 Applications

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have been attempting to embed multiple Html5 apps into one page. After trying to embed two different applications failed, I tried to embed the same application twice in the same page. What happened both instances is that only one application played. The other one simply produced a white screen.

    An example of what I mean is located on Please login to see this link. The two apps should be embedded next to each other.

    Below is the html code for both embeds when I tried to embed the same app twice. The only difference is that the canvases are named "MMFCanvasTwo" and "MMFCanvasONE" respectively.

    Please login to see this picture.
    Please login to see this picture.

    Any suggestions on what can be done?

    With Regards,

    • Please login to see this link.

    Please login to see this picture.

    Edited 2 times, last by Yves (March 12, 2022 at 8:09 AM).

  • Actually, having multiple application on the same page is something on my todo list, and I have not done it yet.
    It implies a little work, for the main game loop timer calls.
    Once I have completed the stuff (after clearing the HTML5 bugbox), I'll work in this. So keep posted.

    Francois
    PM: Please login to see this link.

  • The only way I have found around this is to put the HTML5 in an Iframe and loading them from different domains. Then they both work.
    Please login to see this link.

    For most people this is not good as they only have one domain to work with but here is what I did. These are both on the same root domain and I just added a different subdomain...

    One is on network.iwarecd.com the other is on rtp.iwarecd.com so they are both pointing to iwarecd.com just that network and rtp are in different folders and using different application pools.

    I have not played with this much so I don't know how well it work on all browsers, how long it will work once it starts, if I need different application pools or not, etc.


    Hope this helps.

    Please login to see this link.


  • Hello Kimera ,
    I have checked your example webpage and it works fine.
    I notice both apps are next to each other.
    If I want to put one app on top of the other in the page , what should I do?
    Thanks ,
    eric

    Please login to see this link.

  • Sorry it has taken a bit for me to get back to you, been tied up with a new job.

    To get what you are looking for I think I would create a table and put one in the top row and the other in the next.

    Hope that helps.

    Kimera

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!