Ninja Docs
Search…
&aspectratio
Changes the aspect ratio on the publisher side
Sender-Side Option! (&push) * on https://vdo.ninja/alpha/

Aliases

  • &ar

Options

Value
Description
landscape
aspect ratio of 16:9 (1.777777)
portrait
aspect ratio of 9:16 (0.5625)
square
aspect ratio of 1:1 (1)
1.33333
aspect ratio of 4:3
(decimal number)
aspect ratio

Details

&aspectratio changes the aspect ratio on the publisher side. Floating point value; 1.777777 is common; not supported by all browsers.
You can also change the aspect ratio via the video settings menu.
If using &aspectratio, it will keep the height constant, and vary width, unless &width is set, which will then be the fixed constant.

Screen-share

&aspectratio works with screen-shares, so you can force crop an incoming screen-share to be a certain aspect ratio. If &screenshareaspectratio is used it will apply to just screen-shares. If &screenshareaspectratio does not have a value passed, it's assumed to be set as "default", which overrides &aspectratio option, if used also.

Copy link
On this page
Aliases
Options
Details
Screen-share
Related