Media Player and UMG

I’m having a little issue. I can’t seem to set my Media Player in my UMG from my Player Controller.
This is my setup:

UMG Widget:

  • Overlay with Image (VideoWindow). There is no brush preset on the image.
  • MediaPlayer variable as MediaPlayer type. This will have the assigned MediPlayer asset. No default setting.

Hot Spot BP:

  • MediaPlayer variable holds the MediaPlayer.
  • MediaMaterial variable holds the Material to assign to the brush in the UMG Widget.

Player Controller:

  • UMG connection variable
  • Media Player variable to pass to the UMG
  • Media Material variable to pass to the UMG

So, when the HotSpot is placed in the map, the user selects the MediaPlayer and MediaMaterial that will be used to play on the video when clicked.
The idea is to have multiple HotSpots that will play different videos when clicked.
OnBeginPlay, the UMG Widget is created and added to the viewport from the PlayerController. UMG Connection variable is set.
When a HotSpot is clicked, the event goes through this(short version): cast to player controller, set the MediaPlayer and MediaTexute variable on the PlayerController. Custom event is called on the PlayerController (HotSpotClicked)
In the PlayerController, when HotSpotClicked is executed, the MediaPlayer and MediaTexture is passed to the UMG. The Media Texture is set by setting brush on the image (VideoWindow) in the UMG. Then the MediaPlayer is set to Play.
On the UMG Widget, there is a pause and play button. These are controlled right on the widget.

So, it seems like it should work! But it doesn’t! The VideoWindow is BLANK…as in, not setting!
Before you ask, YES, the Material is set to the texture going to the emissive.

Link to some BP images: http://imgur.com/a/hYeyE

Any help is appreciated!

Got it!
So, in case you stumbled on this thread and didn’t know the answer:
Your Texture in your Material needs to be wired to emissive to play in UMG (already knew that one), but your material also needs to have “Used with UI” checked (in the Usage roll-out)
I also discovered sound does not work if the bit rate is too high. For example, my video with a 192kbps worked fine, but the 409kbps one did not (just LOUD static).
For sound, you need to drop each of your media player sound waves into the map and check “is UISound”.
The last thing I did was I took off the “Pause” before setting the variables.
All is now right in the world.