as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

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: Oct 02, 2025