mirror of
https://github.com/ruffle-rs/ruffle-android.git
synced 2024-11-23 05:39:38 +00:00
Don't leave the movie URL empty (fixes Cube Escape: Seasons)
This commit is contained in:
parent
717184643c
commit
8411cf9f26
@ -231,7 +231,7 @@ fn run(event_loop: EventLoop<custom_event::RuffleEvent>, window: Window) {
|
||||
|
||||
match get_swf_bytes() {
|
||||
Ok(bytes) => {
|
||||
let movie = SwfMovie::from_data(&bytes, "".to_string(), None).unwrap();
|
||||
let movie = SwfMovie::from_data(&bytes, "file://movie.swf".to_string(), None).unwrap();
|
||||
|
||||
player_lock.set_root_movie(movie);
|
||||
player_lock.set_is_playing(true); // Desktop player will auto-play.
|
||||
|
Loading…
Reference in New Issue
Block a user