Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface VideoMatteOptions

    interface VideoMatteOptions {
        onFailure?: (error: unknown) => void;
        onFirstFrame?: () => void;
    }
    Index
    onFailure?: (error: unknown) => void

    Called once if a frame upload throws — a cross-origin clip served without CORS taints the video and texImage2D raises a SecurityError — after the compositor has stopped itself. The caller then shows the raw clip instead.

    onFirstFrame?: () => void

    Called once after the first frame has been drawn to the canvas.