UE5 ISSUE* The selected media file will not get packaged, because its path points to a file outside the project's /Content/Movies/ directory.

My goal is to have a working video file play and loop on the main menu of a game.

I have set up everything but the file path for the video file says this issue: The selected media file will not get packaged, because its path points to a file outside the project’s /Content/Movies/ directory.

There was no original ‘Movies’ file so I made my own in the Project file location. This didn’t work. How can I fix this?

You need to create the folder named Movies in the Content directory of the project. Then you just can drop in your mp4 files.
Just searched for my docs, I had that problem 2 years ago:

So I created that exact directory Projectdir/Content/Movies and put in the mp4 files.

And referencing path as follows in the File Media Source did work:

5 Likes

2 years on and this was my solution Thank YOU!!!