Building and playing the video in-scene

Theoretically, you can now play a video on any static mesh actor or a number of surfaces. Typically, though, it is just a plane, which can be dragged from the modes window right into the level. We'll generate a material by dragging the media texture directly on to the actor we want to use (our plane in this case), and then you can see a dead-simple material is added and is set on the surface. So after doing all of that, as seen here, there's one tricky part left: the audio that will fail to play if we don't right-click the +Add Component for our in-scene screen (plane), add a Media Sound component, and hook its media to our player:

Manually hooking up the audio this way is one of the only complaints ...

Get Mastering Game Development with Unreal Engine 4 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.