on-internet
← Community

SOLVED main index

Stack Overflow ·

I have some games and i run them through an iframe, each with its own `index.html` and <script tags> where load other files for the game's. <--- not type module. I was loading the games when ever i need them to play. Before i was using a new div and inside the div's innerHTML i was pushing the <iframe src= , scrolling= width=, height= etc></iframe> and all was ok. Previously, my script didn't use type="module" in my main index.html. I change my main index to `type="module"`, and i figure how to load the youtube iframe api, but now I can't load the games iframes (i think because each game has t

Comments

Sign in or sign up to comment and upvote.

No comments yet.