Ask coding questions

← Back to all posts
Pygame Embedding Window Problem
abaner1311

Hello!

I was able to embed my pygame on my website, using the following code:

<iframe frameborder="0" width="100%" height="500px" src="https://replit.com/@abaner1311/ThePygam?lite=true?"></iframe>

However, whenever I log out of my account and try to access the game from the window, I am unable to view the window display. I just see the spinning repl wheel. I can still enter in the console, though.

When I am logged in, though, I can see both the window and the console on my website, and the game works perfectly. Please help!

Voters
abaner1311
Comments
hotnewtop
Coder100

yeah that probably is a bug with replit, try reporting it:

MrVoo

Pygame and replit aren't the best combo, try learning JavaScript and canvas if you want web games.