Insert a video to UE 4.17

Hello , when i insert a video to my UE 4.17 I can’t play it , the size is 10 mb , i inserted an other video with 3 mb size and same is won’t play how can i play it ?

What you will have to do in order to play the video inside of Ue4 is to create a directory called “Movie” inside your projects content directory (Unreal Projects\YourProject\Content) and drag the video into this directory. After that you will have to create a so-called FileMediaSource (Right click in Content Browser > Media > File Media Source) and then link the video in your “Movies” directory to it. After that create a Media Player (Right click in content browser > Media > Media Player) and then just open the Media Player and you will see a list of these Media Files in the bottom part of the window.
Hope this helps

Thankis it worked !
But the porblem is i need to create texture based on this video to make on my main menu if you know what i mean ,
if you know an easy way to put a video on my menu please tell me !
Thanks in advance

Follow this tutorial to create a media player material: Unreal Engine 4 - Media Material Blueprint Tutorial - YouTube

Then to add it to an UMG Widget, you will need to create a border. After this you will need to set the border material clicking in border and going to Details > Appearence > Brush > Image > Select the material you created following the video instructions

thanks it worked ! :slight_smile:

But when i launch my game it won’t start
i need to make it play how ?

In the video is showing how. You need to call OpenMedia function in the BeginPlay event

My UE4 can’t play the video when imported i need to Create a new media player and then load it but why ?
UE4.17

  • It won’t work when i press play and the texture won’t play so ?