ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.62k stars 809 forks source link

Unable to instantiate display node id 31, reason being: Character id doesn't exist #8837

Open DoomTay opened 1 year ago

DoomTay commented 1 year ago

Describe the bug

The website does not respond to mouseover or clicking events. Also, a small animation on the bottom does not show, which may be related.

The browser console shows the following output

Error running definition tag: DefineVideoStream, got Couldn't read SWF
Error running definition tag: DefineVideoStream, got Couldn't read SWF
Tried to instantiate non-registered character ID 31
Unable to instantiate display node id 31, reason being: Character id doesn't exist
Unhandled AVM1 error in timer callback: A script has thrown a custom error. 

Seems like Ruffle is expecting an SWF, but is getting something else

Expected behavior

The website should show a video stream and then be able to respond to mouseover and click events

Affected platform

Browser's extension

Operating system

Windows 10

Browser

Firefox 108.0.1

Additional information

This shows at https://biomediaproject.com/bmp/data/sites/bionicleheroes/bionicleheroes/us/US.html

n0samu commented 1 year ago

This happens because this site uses external FLV video files. Ruffle does not support loading external video files yet. See #3801

n0samu commented 1 year ago

This still isn't working with the upcoming FLV PRs.

DoomTay commented 2 weeks ago

I felt like revisiting this. I don't know when a fix was implemented, but videos seem to be working now.

I did notice that when looking at the videos under the Hahli/Downloads section, this came up in the console

ERROR core/src/library.rs:224 Tried to instantiate non-registered character undefined

And yet the video still played just fine, though it kept playing if I navigate away from the section. This is not the case when visiting the site through a Flash-enabled browser like Basilisk