Media Player not saving Media Source

Hi,

I’m having a big issue with the Media Player.

It is vital to my project that I play several videos inside a level.

I’ve certainly done this a dozen times, but now I’ve run into a problem:

When I open the Media Player and double-click on my Media Source ( a h.264 MP4 Video), it works perfectly - I can see the preview in the Media Player Window, and it also plays on the actor in my level.

However, as soon as I close the Media Player and reopen it, it’s… lost.

The “Media Source” tab is simply empty.

I’ve tried this now with six files in all ways and combinations, but the result is the same:

As soon as I close a Media Player, the Media Source is being erased.

What’s going on here?

Can anyone help?

Many thanks in Advance.

I am having this issue too. I am surprised no one has chimed in.

they do in some sens you need to use bleuprint code https://answers.unrealengine.com/questions/528946/media-player-editor-is-not-saving-the-media-textur.html
Oh, so the Media Player Editor is only for previewing the media. It will not store the previewed Media URL or Media Source in the Media Player. You will have to open the desired media in your Blueprint, i.e. on BeginPlay, when the user clicks some button in your game, or whenever is appropriate in your use case.

On begin play my video isn’t being triggered. I’ve ensured the custom variable as the media player source and the video file is added to the play source module. The texture is added to the mesh, and I know this because when I open the media player and double click the video, it plays in the editor. When I begin play it freezes and isn’t called. Any suggestions?

To clarify, I’m assuming not talking about Bink media player.

Media Player doesn’t seem to automatically open anything, which means it won’t start when you play the level, and what you see is the freeze frame from when you were looking at the player in the editor.

The media player is tied to the texture, but it’s not tied to any particular source. When you view it in the editor, you see available sources, but none are explicitly tied to the player.

If you check “play on open” in the media player, you still need to open the source.

ExplicitStartMediaPlayer

You can do this in a blueprint that resides in the level, or the level blueprint.