
How to Upload and Play Video in Unreal Engine 5
In this post it is detailed the simplest way to upload video to Unreal Engine and then play the video in a level.
VIDEO IMPORT AND MEDIA PLAYER:
- In the Content Folder create a new folder called Movies
- If the video is not in this folder, it won’t get packaged in the game.
- Drag in a supported video file into the Movie folder.
- This should be in a compressed video format such as an mp4.
- See the link here for supported video formats: Supported Video File Formats
- Also move the video file into the Windows/PC project Movie folder using the PC folder browser (I.E: Move the video again into the PC folder).
- Right click in the new folder and in the menu find (Media > Media Player) and create a Media Player.
- A panel will pop up and be sure to tick the box to create a media texture asset.
- Â Back in the folder > Right click on this newly created media texture and from the pop-up menu create a material.
- Open the Media player. Double click the video file to make sure it plays. Tick the loop box if you want it to loop.
- Close the media player. I have had issues with the video not playing in the editor window if I keep the media player open with the video playing.
BLUEPRINT:
- Right click in the Movie folder > Create a Blueprint > Select Blueprint Actor > Name it BP_TV or something similar.
- The files now in your folder should show as below: Blueprint, Video, Material, Texture and Media player.
- In the Blueprint > Add a ‘static mesh’ and add a plane or TV mesh (a TV mesh will need a separate material slot for the screen for the video material) or just use a plane.
- Add the media player material to the mesh screen or plane.
- In the graph add the Event begin play node.
- Drag off from Event begin play and add an Open Source node. In this node select the video file in the drop-down list provided.
- Create a new variable and change it from the default Boolean to a Media player object reference.
- Drag this node into the graph and from the options provided select Get NewVar (or whatever you renamed it to – ideally rename to ‘Media Player’).
- Plug this into the target of the Open Source node.
- Press compile and with the Media player node selected > in the details panel > add the media player that was created.
- Drag the blueprint into the level and it should work!
ADD SOUND TO THE VIDEO:
- Simple add a Media sound component to the component panel for the video to play sound.
- The component panel should like below (assuming you haven’t added other components – which if required is fine of course)
THE FINAL GRAPH:
Related Video Blueprint Tutorials
This overview tutorial is part of a specific set of tutorials that relate to the upload and playing of video in Unreal Engine. Please see below the related videos in this series.
-
How to upload and play video.
-
-
-
Leave a Comment
Subscribe to Newsletter
Motion Forge Pictures Blog
Featured Posts and Links
Free Height Maps
Free 3rd Person Animations
Free Store Downloads
Unreal Engine - Free Materials
Latest Posts
103, 2025
2702, 2025
2502, 2025
1902, 2025
1802, 2025
Categories
Tags
achieve (2)
ambient (3)
animation (18)
animation and filmmaking (17)
animation reference (2)
arch viz (5)
background video (3)
blender (24)
blueprint (12)
blueprints (13)
cinema (3)
cinematic (4)
cinematics (10)
davinci-resolve (3)
download (4)
film (2)
free (15)
free download (32)
ghosts (5)
ghost story (3)
haunting (2)
height map (3)
height maps (3)
history (4)
Info and Insights (36)
landscape (11)
landscape height maps (6)
low poly (4)
materials (3)
maya (3)
meetup (2)
modeling (3)
mystery (2)
quick tip (3)
ratio (3)
relax (3)
Resources and info (5)
speed design (3)
sports car (3)
substance painter (6)
terrain (5)
tutorial (2)
unreal engine (39)
unreal engine 5 (3)
video (3)