Skip to content
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

mp4 video is in path, not playing, app crashing #299

Open
HeyCodeSnooper opened this issue Apr 7, 2024 · 0 comments
Open

mp4 video is in path, not playing, app crashing #299

HeyCodeSnooper opened this issue Apr 7, 2024 · 0 comments

Comments

@HeyCodeSnooper
Copy link

HeyCodeSnooper commented Apr 7, 2024

i have a video in my haxeflixel project named secret.mp4, for a little easter egg >:) and i get an error message on close when the FlxButton i made is pressed and crashes the game in the vscode terminal (screenshot attached)

screenshot:
Screenshot 2024-04-06 221729


this is the callback function that isnt finding the file.

function funny():Void
{
var funny:FlxVideo = new FlxVideo();
funny.onEndReached.add(funny.dispose);
funny.play("assets/videos/secret.mp4");
cutsceneTimer.start(12, donewithfunny, 1);
}


EDIT: the file IS there! (screenshot)
Screenshot 2024-04-06 223105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant