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.
OptionalonFirstFrame
onFirstFrame?:()=>void
Called once after the first frame has been drawn to the canvas.
Called once if a frame upload throws — a cross-origin clip served without CORS taints the video and
texImage2Draises a SecurityError — after the compositor has stopped itself. The caller then shows the raw clip instead.