gabrielflorit / script-8.github.io

A JavaScript-based (React + Redux) fantasy computer for making, sharing, and playing tiny retro-looking games.
https://script-8.github.io/
MIT License
645 stars 34 forks source link

HTML export shows up blank #318

Open SamyBencherif opened 4 years ago

SamyBencherif commented 4 years ago

I only see the navy background when I try to open a cassette exported to HTML.

I tried opening the file locally file://..., hosting local localhost, and hosting on itch.io.

Right now, I am using an index.html file with solely these contents as a workaround:

<!-- Ty https://stackoverflow.com/a/14738668/1727470 -->
<iframe src="https://script-8.github.io/?id=580848d0b16532be43c4a343b001aabf" style="position:fixed; top:0; left:0; bottom:0; right:0; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
    Your browser doesn't support iframes
</iframe>
gabrielflorit commented 4 years ago

You're right. How odd.

gabrielflorit commented 4 years ago

Looking.

gabrielflorit commented 4 years ago

Interesting. The iframe.html changed after 0.1.244 https://github.com/script-8/script-8.github.io/commit/a4cbdd163dfdbc653e2c665762e4b358b228d53c