🎥 Make videos programmatically with React
Merge remote-tracking branch 'origin/main' into sequence-trim-after-loop
JonnyBurgere83bd9f5ce43
diff --cc packages/brand/src/video-elements/Studio.tsxindex c1ba1a5a19,678ed85e9a..b19faa7f54--- a/packages/brand/src/video-elements/Studio.tsx+++ b/packages/brand/src/video-elements/Studio.tsx@@@ -1714,14 -1712,11 +1714,13 @@@ const StudioInner = React.forwardRefhidden={hidden}layout="none"name={name ?? '<Studio>'}- outlineRef={outlineRef}showInTimeline={showInTimeline ?? true}+ trimAfter={trimAfter}trimBefore={trimBefore}+ loop={loop}><div- ref={outlineRef}+ ref={elementRef}style={{backgroundColor: BACKGROUND,color: WHITE,diff --cc packages/docs/elements/guidelines.mdxindex d348d836d3,687c64aeaa..fcc5271c0c--- a/packages/docs/elements/guidelines.mdx+++ b/packages/docs/elements/guidelines.mdx@@@ -53,9 -53,9 +53,9 @@@ Wrap the exported component with [`InteExport the schema-enabled component directly and wire up the common props:- Add [`Interactive.baseSchema`](/docs/interactive#interactivebaseschema) to every `Interactive.withSchema()` schema and pass `controls` unchanged to the component's `<Sequence>`.-- Pass `from`, `durationInFrames`, `trimBefore`, `playbackRate`, `freeze`, `hidden`, `name`, and `showInTimeline` to that Sequence.-- Pass `style` and the ref to the rendered element. With `layout="none"`, the Studio discovers the outline automatically. Set the dimensions in the component because Element metadata does not pass them as props.-- Render frame-dependent animation in a child below the Sequence. This makes [`useCurrentFrame()`](/docs/use-current-frame) respect `from`, `trimBefore`, `playbackRate`, and `freeze`. If the component that returns the Sequence calls it, it reads the parent clock.+- Pass `from`, `durationInFrames`, `trimBefore`, `trimAfter`, `playbackRate`, `loop`, `freeze`, `hidden`, `name`, and `showInTimeline` to that Sequence.- - Pass `style` and the ref to the rendered outline. When the Sequence uses `layout="none"`, pass [`outlineRef`](/docs/sequence#outlineref) to it. Set the dimensions in the component because Element metadata does not pass them as props.++- Pass `style` and the ref to the rendered element. With `layout="none"`, Studio discovers the outline automatically. Set the dimensions in the component because Element metadata does not pass them as props.+- Render frame-dependent animation in a child below the Sequence. This makes [`useCurrentFrame()`](/docs/use-current-frame) respect `from`, `trimBefore`, `trimAfter`, `playbackRate`, `loop`, and `freeze`. If the component that returns the Sequence calls it, it reads the parent clock.Export the schema-enabled component directly, without a forwarding wrapper. See the [oscilloscope](/elements/audio/oscilloscope), [waveform progress](/elements/audio/waveform-progress), and [mirrored spectrum](/elements/audio/mirrored-spectrum) Elements.