add_media
Import user-supplied images, audio, or video into an animation project, storing images/audio in assets and converting videos into frames plus audio for page and sound use.
Instructions
Bring the user's own file into a project. Images and audio go to assets/. A video becomes frames in footage// plus audio.wav; draw it with shared/footage.js and add its sound through sound.json tracks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the file | |
| name | No | Short name to use in the page | |
| project | Yes |