777 B
777 B
Media source resolution
src (on <video>, <image>, <audio>) accepts:
- Global path: e.g.
"/Movies/video.mp4", resolved against the user's OS. - Remote URL: e.g.
"https://my.videoarchive.com/audio/clip.wav", registered as a remote asset. - Asset id: e.g.
"gbHJ", an imported asset (discover ids withdapi asset lsordapi asset tree). AssetRef: the value returned by agenerate.*declaration (see generate.md). The node is inserted immediately as a placeholder and its paint is attached once the asset has generated.
In dapi node patch, src takes a path, URL, or asset id; generate.* declarations are JSX-only.