Back to Tldraw

Create a video shape

apps/examples/src/examples/editor-api/local-videos/README.md

5.3.0197 B
Original Source

Create a video shape using a local asset.


This example shows how to create a TLVideoAsset for a video file that's hosted locally and add a VideoShape referencing that asset to the canvas.