Using IFrame for Website.

SummaCivis
23 Oct 2020, 01:54

Hello,
I've surfed the forums here for an answer to no avail. What is the process to take the link after publishing and embedding it into an Iframe on another website?


mattgmr1
23 Oct 2020, 18:23

What have you tried so far? Here is a tutorial on iframes:

https://www.w3schools.com/tags/tag_iframe.ASP


SummaCivis
23 Oct 2020, 21:49

Thank you. This is helpful. I still can't find a way to get the game to load. I do see a loading screen now but it won't load the game.
I am copying the link from the button taken off of the creator page here. It appears to work when I load it from my own browser directly from this site. But when I try to load the game from my site, it just shows a loading page.


mrangel
23 Oct 2020, 22:35

You mean a link that looks like //textadventures.co.uk/games/view/######################/name-of-game, or a link that looks like //textadventures.co.uk/games/play/######################?

Either should work, although if you're using the latter you should probably give the option of a second URI with play changed to resume, for the benefit of anyone who has a saved game.

Can you show an example page that you have this problem on?


SummaCivis
23 Oct 2020, 23:51

You mean a link that looks like //textadventures.co.uk/games/view/######################/name-of-game, or a link that looks like //textadventures.co.uk/games/play/######################?

Either should work, although if you're using the latter you should probably give the option of a second URI with play changed to resume, for the benefit of anyone who has a saved game.

Can you show an example page that you have this problem on?


It is the second link in your post.

The link works if I load it from the play button here on The Quest website but only once.

If I reload the page it just shows me the title of the game.

If I take the link and embed it directly from the play button (The second link in your post), it will only show me a loading screen or a title screen but the game won't load at all.


SummaCivis
24 Oct 2020, 00:42

Whoa. I got the mobile version to play on my phone.

That's pretty cool!!!!

However, the game doesn't have sound effects.

Do you think that if the game file size is too big that it won't load properly?