Skip to content

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

Description

@HeyCodeSnooper

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions