How to play a video using button click

Hello friends, I want to know how to click a button on Unreal Engine 4 and play a video using blueprints, Like this


I let you follow this tutorial : Play a Video File | Unreal Engine Documentation, it’s well done and fast.
Once you’ve succeded in playing video files in your game, you have to communicate between your UI button and the mediaplayer. Create an event dispatcher on your widget blueprint, and bind an custom event in your level blueprint to this dispatcher. This custom event has to launch the video (open source from the mediaplayer). (Event Dispatchers | Unreal Engine Documentation and Event Dispatchers explained - Finally! - Blueprint Visual Scripting - Unreal Engine Forums arer good starts)
When the event will be fired (using the click event of your widget button), the custom event assigned in the level blueprint will launch the video.
No time for me to make screenshots but let me know if you need some.

Thank you very much friend. I’ll use this method you say. If anything comes up, I’ll tell you. Thanks

If you don’t mind, can you please send me a screenshot?
Because I’m a newbie to the Unreal engine. I hope it helps me a lot.

Here :
The differents assets you need :

The widget BP, with the event dispatcher called by the button

The material (set to unlit with the media texture in it)

The level blueprint : you have to set the mediaplayer reference, and get the widget reference when you add it to your game :

Thanks my friend. This helped me a lot. Thank you very much.

You’re welcome. Please mark the answer as the solution so that the question can be closed ! :wink: