Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { EditorCamera } from "@/components/media-editor/features/capture/index"export default function MediaEditorCaptureDemo() { const labels = { galleryPicker: "Open gallery", switchCamera: "Switch camera", shutterPhoto: "Take photo", shutterVideoStart: "Start recording", shutterVideoStop: "Stop recording", recordingLabel: "Recording", permissionRequesting: "Requesting camera access…", permissionUsePicker: "Choose from gallery", permissionDeniedTitle: "Camera access denied", permissionDeniedBody: "Allow camera access in your browser settings to take a photo.", permissionRetry: "Try again", } as Parameters<typeof EditorCamera>[0]["labels"] return ( <div className="flex aspect-[9/16] w-full max-w-xs flex-col overflow-hidden rounded-xl"> <EditorCamera enabled mode="photo" labels={labels} onPhoto={() => {}} onVideo={() => {}} onGalleryFile={() => {}} /> </div> )}