Node Copied to Clipboard!

Audio and Video In the Lesson

Editor supports mp3, ogg and wav formats for audios and mp4 format for videos. You can make the lesson much more vivid and flexible by introducing such resources.

Importing Videos and Audios

Applying Video

There are two ways to add a video object to your lesson, but first make sure you are in the setup window by double clicking the setup node.

The first method is to add it through the context menu of the setup window.

  • right-click and choose Video under the UI group.

The second method is to use the setup tab in the The Ribbon.

  • With the setup node selected, click the simulate button in the top right of the The Ribbon.
  • With the setup tab active in the The Ribbon click on the add video button. You will see the new video object added to the list of objects in the setup window.

After the video object has been added to the setup window you can follow these steps to add your video file to the video object.

  • Click the Video object that was newly added to the Setup node and make sure the Properties tab is active. In the properties panel you can also change the name of the video to something more descriptive.

  • Drag the video asset from Assets tab to the VideoAsset slot in the Properties tab.

  • You can position and resize the video by using the properties panel or by adjusting the box that appears in the editor window.
  • Switch back to the main Storyboarder, right-click and type the name of the video object you just created in the search box. Click the name in the context menu.

  • A video node should be added to the Storyboarder now. Click on the bottom of the node then choose Play.

  • In this case we add a WaitForAnyClick node to wait while the video is playing. Simulate and play the lesson, you will get a video playing in the scene.

Adding a video using a video object as shown above allows you to create a place holder for a video which you can apply a video asset to in later setup nodes or switch out different videos in the same position easily.

You can also just drag your video asset into the setup node from the assets panel and use it from there.

Applying Audio

  • Drag the audio asset from the Assets tab to the Storyboarder.
  • An audio node should be added to the Storyboarder now. Click on the bottom of the node then choose PlayOneShot.
  • Connect the newly added node to the Setup node. Simulate and play the lesson.
  • You can use a Fork node to execute another stream while playing the audio.

Next: 3D Sounds