CREATING WEBAR

Video Playback

With MyWebAR there are several ways to start video playback:

• Autoplay the video once the scene is loaded
• Play the video by tapping on it
• Play the video by tapping on a virtual button

In this article we will cover how to get started with each of them.
Autoplay
If you want to play the video once the scene is loaded, select it on the AR content panel on the left side of the editor.
Go to the Settings tab of the Properties panel.
Check the Autoplay field to make the video start automatically.

Don't forget to publish your project to make your changes live.
Play Video by Tapping on It
If you want to play the video when user taps on it on your AR scene, select it on the AR content panel on the left side of the editor.
Go to the Actions tab of the Properties panel on the right.
Select the Play/Pause Embedded Media on Click, click on the Plus button and publish your project to apply the changes.
Don't forget to publish your project to make your changes live.
Play Video by Tapping on a Button
If you want to play the video when user taps on a virtual button, you will need to add your future button on the scene first.

You can use any type of object as a button, but in this guide we will be using a PNG image.
Select your video on the AR content panel on the left side of the editor, then go to the Actions tab of the Properties panel on the right.
Go to the Actions tab of the Properties panel on the right.
Select the Play/Pause Embedded Media on Click, click on the Plus button.
Click on the Action you just added to expand its properties and select the object that will work as a button from the dropdown list.
Don't forget to publish your project to make your changes live.
Related Topics: