Optional__staticOptionalappendIf true, appends the canvas to the container. Ignored if container is null.
OptionalautoIf true, video elements will automatically render on each frame update.
OptionalcontainerParent element used to determine canvas size. If null, it uses the viewport.
The media element to be rendered. Accepts a Canvas instance or common media elements like images and videos.
OptionalresizeDebounce time (ms) for resize handling.
OptionalresizeAutomatically adjusts canvas size on initialization.
OptionalresizeEnables dynamic resizing based on viewport or container changes.
OptionalviewportDefines which dimension(s) should trigger a resize.
Static properties for the CanvasMedia class.