Videos are sequences of images with audio. They are great way to enhance an AR scene and create more interactive experiences.
|Video container||AVI, MP4|
|Video codec||Supported codecs|
|Video size||Up to 350MB|
|Video duration||Up to 5min|
|Video resolution||Up to 4K (will be downscaled to a width of 720px)|
When a new video is uploaded, a conversion process will run to resize and re-encode it so it can be run on mobile devices.
When adding a video to the scene, Studio will automatically create a "click" event to play it when clicked. You can remove this event or create new ones to manage its playback.
You can also set up the following properties from the right side panel:
The autoplay property, when using WebAR in Safari (iOS) will only work if the video does not contain an audio track. This is a Safari limitation, as stated in webkit documentation.
When it comes to create 2D animations, chroma key videos are your best choice.
A chroma key video, is a regular video where you can replace a color (typically from the background) with transparency, in order to create 2D animations with any shape.
Here there are the steps to "mark" a video as a chroma key video: