as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

VideoProps

Properties

height?

optional height: number

For additional information, see https://html.spec.whatwg.org/multipage/embedded-content-other.html#dom-dim-height.


scalingmode?

optional scalingmode: "fill" | "none" | "fit" | "strech"

Brief

configure the scaling mode for rendered video. scalingmode suppprts following. 'none' : No scaling. It preserves the input size. 'fit' : Scales buffer to match window size while preserving the aspect ratio & center position. 'strech': Scales buffer to fit in window, initially without cropping. Scaling up beyond the bounds of the window will stretch the dst rect and excess is cropped down to window bounds. Aspect ratio and center pos are maintained 'fill': Scales buffer to fill the entire window, preserving its aspect ratio and hiding any overflow on the top/bottom/left/right. default: 'strech'


showCaptions?

optional showCaptions: boolean

Brief

show captions


width?

optional width: number

For additional information, see https://html.spec.whatwg.org/multipage/embedded-content-other.html#dom-dim-width.


Last updated: Sep 30, 2025