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) => void): this;

Emitted when the aspect ratio of the video is known, or subsequently changes.

This is typically the width of the video in pixels, divided by the height.

this

When the aspectratio event is fired, attached handler functions are called with a single argument, the aspect ratio.