1
0
Fork 0
forked from OpenNeo/impress
impress/app
Matchu 20202b5cd9 Potentially improve loading state in new item page preview
I thiiiink I've seen the status of a movie `<outfit-layer>` sometimes
be `loading` even when it's clearly already loaded and running. I
haven't been able to track down where and how that happens exactly, so
this is me acting on a hunch: that maybe the
I-would-have-thought-very-unlikely event that the iframe finishes
loading before the `<outfit-layer>` connects with its children maybe
happens more often than one might think!

In this change, we set up the iframe to receive `requestStatus`
messages, which it responds to with the status immediately. And we send
one of these when the `<outfit-layer>` first discovers the iframe.

Fingers crossed!
2024-07-08 16:44:22 -07:00
..
assets Potentially improve loading state in new item page preview 2024-07-08 16:44:22 -07:00
controllers Use {script,style}_src instead of _elem, for better compatibility 2024-07-06 12:52:00 -07:00
helpers Save playing state to a cookie for the new item page preview 2024-07-08 16:27:38 -07:00
javascript Refactor item page outfit-layer to use Web Components 2024-07-02 22:24:26 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models swf_assets/show action to embed a canvas movie in a sandboxed iframe 2024-07-03 19:50:41 -07:00
services Load *all* NC Mall pages in nc_mall:sync 2024-05-10 17:39:40 -07:00
views Save playing state to a cookie for the new item page preview 2024-07-08 16:27:38 -07:00