# Main Menu animated background problems

**URL:** <https://forums.unrealengine.com/t/main-menu-animated-background-problems/441008>\
**Category:** Character & Animation\
**Tags:** main-menu, background, not-simulating, unreal-engine, question\
**Created:** [January 10, 2019, 4:54am UTC](https://forums.unrealengine.com/t/main-menu-animated-background-problems/441008 "2019-01-10T04:54:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asdene](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asdene](https://forums.unrealengine.com/u/Asdene)\
**Post date:** [January 10, 2019, 4:54am UTC](https://forums.unrealengine.com/t/main-menu-animated-background-problems/441008/1 "2019-01-10T04:54:08Z")

</div>

I have posted this on the regular UE4 fourms but I found this Answerhub a bit late. I want to make my menu background animated. I got the preview working properly in the sense that the media player plays the background when previewing but when i press play, the background goes black. If in simulation/play, I can start the media player by double clicking on the file in the file browser but it goes back to black background once I leave simulation too. Is there a way to make the media player keep running when in and out of simulation? Or some alternate way to make my background animated for Main menu? I intend to do the same for in game menu but that’s a headache for another time. Please lend me some advice on this. I check some Youtube vids and they use old nodes from previous UE versions dating back to 2015 -2016. What new node or nodes can I use for this task?

 ![264802-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/0/5e0eea070851e6dee5ad44af0afc2b31991f6983.jpeg)

 ![264803-capture2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/f/74fb53ff1a16c28e870648b3be839e0fd61c0fe7.png)

 ![264804-capture3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/3/893db0b1550f70b906a9298d3cc47323afba6d24.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ce902b4a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ce902b4a1](https://forums.unrealengine.com/u/anonymous_user_ce902b4a1)\
**Post date:** [June 19, 2019, 10:43am UTC](https://forums.unrealengine.com/t/main-menu-animated-background-problems/441008/2 "2019-06-19T10:43:49Z")

</div>

i have that problem from yesterday and when i was searching for a solution, i find your post, so i make vote and start search again & finally i find a solution, i got it from this page :  
[https://docs.unrealengine.com/en-US/Engine/MediaFramework/HowTo/FileMediaSource/index.html](https://docs.unrealengine.com/en-US/Engine/MediaFramework/HowTo/FileMediaSource/index.html)

[https://docs.unrealengine.com/Images/Engine/MediaFramework/HowTo/FileMediaSource/FileMedia\_17.jpg](https://docs.unrealengine.com/Images/Engine/MediaFramework/HowTo/FileMediaSource/FileMedia_17.jpg)

# all you need to do is open blueprint level, and make new variable " media player object reference " and compile so you can put your default value , put your media player as default value , then use open source function and make as showing in the picture above. when you start game you should find the video working in your umg widget

UPDATE : When I came to package the project i have a problem that video is not working but in the editor video working well … to solve this problem do following :-

- All you need is just put your all movies in that directory “[YourProjectName]\Content\Movies” and videos will package and will run with you 🙂 .  
Hope this reply help anyone i search a lot to figure out how can play video in UMG.  
Enjoy :).
