Picture of K Edison
by K Edison - Wednesday, 19 February 2020, 5:23 PM

I have the game working great, but I have 3 games in my program, but only the first one will appear. If I right click in my browser and Inspect I see this for the 1st game:

<object type="text/html" data="course/en/embed2/fc-exercise2.html" class="gameIframe-object"></object>

which works great, but the 2nd and 3rd I see this:

<object type="text/html" data="" class="gameIframe-object"></object>

nothing in the data, I can manually enter the path and my game appears but can't save it. Is there any way to make this work? If I remove the 1st game the 2nd works etc. It seems like its only going to allow 1 to work.

Picture of Matt Leathes
Re: game-frame
by Matt Leathes - Wednesday, 19 February 2020, 6:08 PM

The game frame component seems to have some issues with multiple instances on the same page. Someone mentioned a similar issue in the chat room earlier this month.

Picture of K Edison
Re: game-frame
by K Edison - Wednesday, 19 February 2020, 7:09 PM

Thanks, was able to fix it with this: