Skip to content

aspectRatio( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

aspectRatio() : number;

The aspect ratio of the video file.

This is typically the width of the video in pixels, divided by the height. Use this method to determine the correct aspect ratio of playback in order to support videos encoded with non-square pixels.