Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Embed doesn't have scrolling

A topic by GMercier1986 created Aug 15, 2023 Views: 199 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hi I just publish a Twine Interactive Story.
I wanted to embed it to my website.
But even with the box enable scrollbars checked and some modification on the embedded code... nothing make the scrolling work.
Truly frustrating. I don't want the users to be forced to go on itch.io or to put it in fullscreen.


Here is the modified embeded code:

<div class="itchio-embed">

 

</div>

<style>

  .itchio-embed {

    overflow: auto; /* Enable scrolling within the container */

    aspect-ratio:16/9;

  }

  .itchio-embed iframe {

    width: 100%;

    height: 100%;

  }

</style>

We can see a scrollbar but it doesn't go all the way.


Thank You for the help.

Moderator moved this topic to Questions & Support
Moderator

You mean when embedding the game from itch.io into another website?

Yes.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.