Skip to main content

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

"Embed in page" doesn't work for browser games

A topic by Kasper Hviid created May 03, 2024 Views: 433 Replies: 3
Viewing posts 1 to 2

Earlier, when I made a browser game and selected Embed in Page, it would embed in page. If I clicked Fullscreen, it made it fullscreen.

Now, clicking Play game opens it in a new maximized browser window. This can be made into fullscreen, but the button for this is easily overlooked. This annoys me a great deal, because I want my game to be played in pure fullscreen, but the design discurages this.

Does anyone have a workaround?

Admin(+1)

Unfortunately, in FireFox we have to launch certain games in a new window to allow security headers to be set correctly. If you are concerned about the provided fullscreen button not being obvious enough, you should be able to add a fullscreen button directly in your game with most game engines or in JavaScript. Hope that helps

Thanks, good to know the reason behind it. I'll try adding a more noteable button.

Can you change this to opening a new tab instead of forcing a whole new window?