Media Player in UMG – no audio

Audio doesn’t play from the UI but you can add a MediaSound component in your PlayerController and then associate it with the UI’s Mediaplayer as shown below:

In controller
1 Add the component
2 On Beginplay, get your UI widget variable and pulled the Mediaplayer from it, then link the component with “Set Media Player”
3 On Tick, get your UI Widget and check if media is playing, and set the Volume accordingly on the Media Sound component.

Not sure if this is the best procedure, but it works for what I need.

2 Likes