TLVideoShapeProps
See source codeConfiguration interface defining properties for video shapes in tldraw. Video shapes can display video content from URLs or asset references, with controls for playback state, timing, and accessibility.
interface TLVideoShapeProps {}Example
const videoProps: TLVideoShapeProps = {
w: 640,
h: 480,
time: 0,
playing: false,
autoplay: true,
url: 'https://example.com/video.mp4',
assetId: 'asset:video123',
altText: 'Educational video about shapes',
}Properties
altText
altText: stringassetId
assetId: null | TLAssetIdautoplay
autoplay: booleanh
h: numberplaying
playing: booleantime
time: numberurl
url: stringw
w: numberPrev
TLTextShapePropsNext
VecModel