How to Implement a Media Video in Unreal Engine Using Control Media
To implement a video in your Unreal Engine scene using Control Media, follow the steps below:
-
Create a Media Player
- In the Unreal Engine Content Browser, right-click and choose Media → Media Player.
- This will create both a Media Player and a corresponding Media Texture.
-
Create a Material from the Texture
- Right-click on the created Media Texture.
- Choose Create Material.
This material will display the video content.
-
Apply the Material to an Actor
- Select an actor in your level (e.g., a plane or a custom mesh).
- In the Details panel, assign the material you created in Step 2 to the actor’s mesh.
-
Add the Control Media Component
- Add a Control Media component to any actor in your level. For better organization, we recommend attaching it to the same actor that uses the video material.
- This component allows external control from Erizos Studio over media playback.
-
Assign the Media Player
- In the Control Media component settings, locate the Media Player field.
- Assign the Media Player you created in Step 1.
-
Import the Level into Erizos Studio
- Once your setup is ready, import the level into Studio.
- In Studio, select a video file using the Media Control field.
- The video will now play on your actor using the material connected to the Media Player.