-
I have the Firefox extension from https://addons.mozilla.org/en-US/firefox/addon/ruffle_rs/ (automatically updated). Firefox uses for https://ruffle.rs/demo the remote selfhosted build, instead of using the local one (to my computer, not to the site). Both versions are from 2022-07-29, but I think that it is faster to check which version is newer and to download the remote selfhosted build if and only if this is newer than the local (Firefox, in this case) extension. Or what is the rationale for the current behavior? Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Even with https://www.free-culture.tk/ (which hosts version from 2022-07-26), the remote version is loaded, instead of using the newer local extension. In some cases, the remote build is loaded when the page is first loaded. But if I refresh page loading (F5), the remote build is always loaded. I’m using Fedora 35 and Firefox 102. And again, an older remote version is being used instead a newer one (in this case). Could anyone be so kind to explain me what is the reasoning behind the current behavior? Many thanks for your help again. |
Beta Was this translation helpful? Give feedback.
-
The first thing to understand is that selfhosted builds of Ruffle are properly called selfhosted web builds, not "selfhosted extension." |
Beta Was this translation helpful? Give feedback.
The first thing to understand is that selfhosted builds of Ruffle are properly called selfhosted web builds, not "selfhosted extension."
To answer your original question, the Ruffle Web Demo is actually a bit of a special case because it uses the ruffle-core web build of Ruffle directly, rather than using the selfhosted build or the extension. ruffle-core doesn't know that extensions or selfhosted builds exist at all, so we'd have to add a version negotiation feature to the Ruffle Web Demo from scratch. Right now the Ruffle Web Demo's HTML is marked with
data-ruffle-optout
, which tells the extension not to run on it. This is just in case someone happens to be using an outdated extension. …