Function: aspectRatioOf()
aspectRatioOf(
video):number
Defined in: src/layers/VideoLayer.ts:355
Aspect ratio of a video, falling back to 16:9 before metadata arrives.
Parameters
video
The element to measure.
Returns
number
Width divided by height.