Adding video to the instruction content panel

First, let's add another Raw Image to the Content panel (child of Main Canvas) that we'll use as a MovieTexture.

  1. In Hierarchy, right-click Content panel and select UI | Raw Image.
  2. Rename it Video Graphic.
  3. Select Add Component | Layout Element, and select Preferred Height: 360.
  4. Position it in the Hierarchy between Title Text and Body Text.

We found a height of 360 works for our layout.

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.