Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Game iframe URL, how to add a query param?

A topic by optimosoft created Jun 14, 2021 Views: 234
Viewing posts 1 to 1

Hi, I need to have a query parameter passed to the iframe of my game.

Let’s say my page is:

https://mycompany.itch.io/mygame

With the raw hosting URL for the game iframe being: 

https://v6p9d9t4.ssl.hwcdn.net/html/4019222/20210613/index.html

I need that iframe URL to have “?applicationKey=12345” appended to it. 

It is needed by a framework the game relies on. I have no control on it and can’t change that part of the code. 

Of course, i can just distribute the raw link with the query param added to it and it works but if i do that, i lose most of the features of itch.io!

Any help appreciated :)

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