Skip to content

resize

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.

("resize", (x: number, y: number) => void): this;

Emitted when the width/height in pixels of the video is known, or subsequently changes.

this

When the resize event is fired, attached handler functions are called with two arguments, the width and height of the video in pixels.