-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new Loader().contentLoaderInfo.loaderURL returns file:// instead of whole path #14217
Comments
https://github.com/ruffle-rs/ruffle/blob/master/core/src/avm2/globals/flash/display/loader.rs#L41: Seems the comment here was not a good idea: "Some LoaderInfo properties (such as 'bytesLoaded' and 'bytesTotal') are always accessible, even before the 'init' event has fired. Using an empty movie gives us the correct value (0) for them." |
This happens for http://www.freeaddictinggames.com/loader/ima-vast-preroll.swf?v=2 from #8619 (comment). |
See also #13965, because even with the fixed URL the RegExp still fails anyway. |
In Flash
new Loader().contentLoaderInfo.loaderURL
returns the whole path of the SWF, in Ruffle it's justfile:///
.The value probably comes from either
SwfMovie::empty
orSwfMovie::empty_fake_compressed_len
.The text was updated successfully, but these errors were encountered: