Skip to content

🎥 Make videos programmatically with React

remotion: Add absolute-fill layout to Interactive.withSchema()

Jonny Burgeraf1bf583b527
diff --git a/packages/core/src/Interactive.tsx b/packages/core/src/Interactive.tsx
index 9b64250d58..1a5184adbe 100644
--- a/packages/core/src/Interactive.tsx
+++ b/packages/core/src/Interactive.tsx
@@ -283,6 +283,31 @@ type ComponentAcceptingStyle<
: never);
type WithSchema = {
+ <S extends InteractivitySchema, Component extends React.ElementType>(
+ options: Omit<
+ WithInteractivitySchemaOptions<
+ S,
+ React.ComponentPropsWithoutRef<Component>
+ >,
+ 'Component' | 'supportsEffects'
+ > & {
+ readonly Component: ComponentWithoutReservedProps<
+ Component,
+ WithSchemaReservedKey | 'style' | 'width' | 'height'
+ >;
+ readonly wrapInSequence: true;
+ readonly layout: 'absolute-fill';
+ },
+ ): React.FC<
+ React.ComponentPropsWithoutRef<Component> &
+ InteractiveBaseProps &
+ InteractivePremountProps &
+ InteractiveCropProps &
+ InteractiveTransformProps &
+ Pick<SequenceProps, 'width' | 'height'> & {
+ readonly ref?: React.Ref<HTMLDivElement>;
+ }
+ >;
<S extends InteractivitySchema, Component extends React.ElementType>(
options: Omit<
WithInteractivitySchemaOptions<
@@ -296,6 +321,7 @@ type WithSchema = {
WithSchemaReservedKey
>;
readonly wrapInSequence: true;
+ readonly layout?: 'none';
},
): React.FC<
React.ComponentPropsWithRef<Component> &
@@ -306,6 +332,7 @@ type WithSchema = {
<S extends InteractivitySchema, Props extends object>(
options: WithInteractivitySchemaOptions<S, Props> & {
readonly wrapInSequence?: false;
+ readonly layout?: never;
},
): React.ComponentType<Props>;
};
@@ -317,6 +344,7 @@ type WithSchemaImplementationOptions = Omit<
readonly Component: React.ComponentType<object>;
readonly supportsEffects?: boolean;
readonly wrapInSequence?: false | true;
+ readonly layout?: 'none' | 'absolute-fill';
};
const withSchema: WithSchema = (untypedOptions: unknown) => {
@@ -337,6 +365,7 @@ const withSchema: WithSchema = (untypedOptions: unknown) => {
componentName,
schema,
wrapInSequence: _,
+ layout = 'none',
...rest
} = options;
type ComponentWrappedInSequenceProps = React.ComponentProps<
@@ -344,7 +373,8 @@ const withSchema: WithSchema = (untypedOptions: unknown) => {
> &
InteractiveBaseProps &
InteractivePremountProps &
- InteractiveCropProps & {
+ InteractiveCropProps &
+ Pick<SequenceProps, 'width' | 'height'> & {
readonly controls: SequenceControls | undefined;
};
const ComponentWrappedInSequence = forwardRef<
@@ -361,6 +391,7 @@ const withSchema: WithSchema = (untypedOptions: unknown) => {
composition.id === canvasContent.compositionId &&
composition.componentFromProps === componentIdentity,
);
+ const {width, height, ...propsWithoutDimensions} = props;
const {
durationInFrames,
from,
@@ -377,7 +408,7 @@ const withSchema: WithSchema = (untypedOptions: unknown) => {
styleWhilePremounted,
styleWhilePostmounted,
...componentProps
- } = props;
+ } = layout === 'absolute-fill' ? propsWithoutDimensions : props;
const {
cropLeft,
cropRight,
@@ -426,7 +457,15 @@ const withSchema: WithSchema = (untypedOptions: unknown) => {
_remotionInternalSingleChildComponent={
isCurrentComposition ? null : componentIdentity
}
- layout="none"
+ layout={layout}
+ {...(layout === 'absolute-fill'
+ ? {
+ width,
+ height,
+ style: croppedStyle ?? undefined,
+ ref: ref as React.ForwardedRef<HTMLDivElement>,
+ }
+ : {})}
durationInFrames={durationInFrames}
from={from}
trimBefore={trimBefore}
@@ -445,8 +484,9 @@ const withSchema: WithSchema = (untypedOptions: unknown) => {
>
{React.createElement(Component, {
...componentPropsWithoutCropping,
- style: croppedStyle ?? undefined,
- ref,
+ ...(layout === 'none'
+ ? {style: croppedStyle ?? undefined, ref}
+ : {}),
} as React.ComponentProps<typeof Component>)}
</SequenceWithoutSchema>
</Freeze>
diff --git a/packages/docs/docs/interactive-with-schema.mdx b/packages/docs/docs/interactive-with-schema.mdx
index 343a624b06..0e28ae844f 100644
--- a/packages/docs/docs/interactive-with-schema.mdx
+++ b/packages/docs/docs/interactive-with-schema.mdx
@@ -71,7 +71,8 @@ The options for `Interactive.withSchema()` are:
The component to wrap.
-It must accept a `style?: React.CSSProperties` prop and apply it to its visual root.
+With the default `layout: 'none'`, it must accept a `style?: React.CSSProperties` prop and apply it to its visual root.
+With `layout: 'absolute-fill'`, the wrapper applies styles to a full-size container instead. `Component` must not declare `style`, `width`, or `height` props; these belong to the wrapper.
### `componentName`
@@ -89,13 +90,46 @@ Wraps the component in a [`<Sequence>`](/docs/sequence) automatically.
Set this to `true`, unless you already have components from previous examples which handle wrapping in a `<Sequence>` manually.
If set to false, you need to manually forward all props.
+### `layout`?<AvailableFrom v="4.0.535" />
+
+Requires `wrapInSequence: true`. Defaults to `'none'`, which forwards styles to `Component` without adding a container.
+
+Set to `'absolute-fill'` to give the component a full-size, absolutely positioned container. Styles, transforms, cropping, and premount styles apply to this container. It shares the component's timeline item, so no extra layout layer appears in Studio. The returned component also accepts `width` and `height` to size the container and set the dimensions reported by `useVideoConfig()`.
+
+The inner component can return a fragment and does not need to forward styles:
+
+```tsx twoslash title="Scene.tsx"
+import type React from 'react';
+import {Interactive} from 'remotion';
+
+const SceneInner: React.FC = () => (
+ <>
+ <div>Scene content</div>
+ </>
+);
+
+export const Scene = Interactive.withSchema({
+ Component: SceneInner,
+ componentName: '<Scene>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+const Example = () => <Scene style={{backgroundColor: 'black', opacity: 0.5}} />;
+```
+
+Keep `'none'` when styles need to apply directly to an element with its own size or layout, such as a text box, SVG, or button.
+
### Return value
Returns a React component.
### Ref forwarding<AvailableFrom v="4.0.530" />
-If `Component` accepts a ref, the returned component preserves its ref type and forwards the ref directly to `Component`.
+With `layout: 'none'`, if `Component` accepts a ref, the returned component preserves its ref type and forwards the ref directly to `Component`.
+
+With `layout: 'absolute-fill'`, the ref points to the wrapper's `HTMLDivElement`.
## Compatibility
diff --git a/packages/jonnys-videos/src/Composition4People.tsx b/packages/jonnys-videos/src/Composition4People.tsx
index 7d41486b47..6701980855 100644
--- a/packages/jonnys-videos/src/Composition4People.tsx
+++ b/packages/jonnys-videos/src/Composition4People.tsx
@@ -1,5 +1,6 @@
import React from 'react';
import {
+ Interactive,
AbsoluteFill,
CanvasImage,
Easing,
@@ -8,12 +9,13 @@ import {
useVideoConfig,
} from 'remotion';
-export const Composition4People: React.FC = () => {
+const Composition4PeopleInner: React.FC = () => {
const frame = useCurrentFrame();
const {fps} = useVideoConfig();
return (
<AbsoluteFill
+ showInTimeline={false}
name="People grid"
style={{
backgroundColor: 'black',
@@ -87,3 +89,11 @@ export const Composition4People: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const Composition4People = Interactive.withSchema({
+ Component: Composition4PeopleInner,
+ componentName: '<Composition4People>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/components/AnimatedCaptions.tsx b/packages/jonnys-videos/src/components/AnimatedCaptions.tsx
index 3da91a8dfd..15c74bf586 100644
--- a/packages/jonnys-videos/src/components/AnimatedCaptions.tsx
+++ b/packages/jonnys-videos/src/components/AnimatedCaptions.tsx
@@ -18,14 +18,11 @@ import {
Interactive,
interpolate,
interpolateColors,
- Sequence,
spring,
useCurrentFrame,
useDelayRender,
useVideoConfig,
- type InteractiveBaseProps,
type InteractivitySchema,
- type SequenceControls,
} from 'remotion';
import {
type CaptionPageLayout,
@@ -34,14 +31,13 @@ import {
export const CAPTIONS_HEIGHT = 360;
-type AnimatedCaptionsProps = InteractiveBaseProps & {
+type AnimatedCaptionsProps = {
readonly captions: Caption[] | null;
readonly captionsSrc: string | null;
readonly voiceoverSrc: string | null;
};
const animatedCaptionsSchema = {
- ...Interactive.baseSchema,
...Interactive.captionsSchema,
} as const satisfies InteractivitySchema;
@@ -82,7 +78,7 @@ type CaptionPageProps = {
) => void;
};
-const CaptionPage: React.FC<CaptionPageProps> = ({
+const CaptionPageInner: React.FC<CaptionPageProps> = ({
focusProgress,
focusedTokenIndex,
page,
@@ -130,6 +126,7 @@ const CaptionPage: React.FC<CaptionPageProps> = ({
return (
<AbsoluteFill
+ showInTimeline={false}
ref={containerRef}
style={{
alignItems: 'center',
@@ -185,6 +182,14 @@ const CaptionPage: React.FC<CaptionPageProps> = ({
);
};
+const CaptionPage = Interactive.withSchema({
+ Component: CaptionPageInner,
+ componentName: '<CaptionPage>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
const AnimatedCaptionsContent: React.FC<{
readonly captions: Caption[];
readonly voiceoverSrc: string | null;
@@ -367,7 +372,7 @@ const AnimatedCaptionsContent: React.FC<{
}),
]}
>
- <AbsoluteFill>
+ <AbsoluteFill showInTimeline={false}>
{pages.map((page, index) => {
const pageKey = `${page.startMs}-${index}`;
const nextPage = pages[index + 1];
@@ -384,21 +389,18 @@ const AnimatedCaptionsContent: React.FC<{
const durationInFrames = Math.max(1, endFrame - startFrame);
return (
- <Sequence
+ <CaptionPage
key={pageKey}
from={startFrame}
durationInFrames={durationInFrames}
premountFor={fps}
showInTimeline={false}
- >
- <CaptionPage
- focusProgress={focusProgress}
- focusedTokenIndex={focusedTokenIndex}
- page={page}
- pageKey={pageKey}
- onWordFocusRegions={onWordFocusRegions}
- />
- </Sequence>
+ focusProgress={focusProgress}
+ focusedTokenIndex={focusedTokenIndex}
+ page={page}
+ pageKey={pageKey}
+ onWordFocusRegions={onWordFocusRegions}
+ />
);
})}
</AbsoluteFill>
@@ -442,38 +444,25 @@ const FetchedAnimatedCaptions: React.FC<{
);
};
-const AnimatedCaptionsInner: React.FC<
- AnimatedCaptionsProps & {readonly controls: SequenceControls | undefined}
-> = (props) => {
- const {
- captions,
- captionsSrc,
- controls,
- name,
- voiceoverSrc,
- ...interactiveProps
- } = props;
+const AnimatedCaptionsInner: React.FC<AnimatedCaptionsProps> = ({
+ captions,
+ captionsSrc,
+ voiceoverSrc,
+}) => {
return (
- <Sequence
- layout="none"
- {...interactiveProps}
- controls={controls}
- name={name ?? '<AnimatedCaptions>'}
- >
- <AbsoluteFill>
- {captions ? (
- <AnimatedCaptionsContent
- captions={captions}
- voiceoverSrc={voiceoverSrc}
- />
- ) : captionsSrc ? (
- <FetchedAnimatedCaptions
- captionsSrc={captionsSrc}
- voiceoverSrc={voiceoverSrc}
- />
- ) : null}
- </AbsoluteFill>
- </Sequence>
+ <>
+ {captions ? (
+ <AnimatedCaptionsContent
+ captions={captions}
+ voiceoverSrc={voiceoverSrc}
+ />
+ ) : captionsSrc ? (
+ <FetchedAnimatedCaptions
+ captionsSrc={captionsSrc}
+ voiceoverSrc={voiceoverSrc}
+ />
+ ) : null}
+ </>
);
};
@@ -481,5 +470,6 @@ export const AnimatedCaptions = Interactive.withSchema({
Component: AnimatedCaptionsInner,
componentName: '<AnimatedCaptions>',
schema: animatedCaptionsSchema,
- supportsEffects: false,
-}) as React.FC<AnimatedCaptionsProps>;
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx
index fca36865fe..2cd30af5d4 100644
--- a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx
@@ -1,3 +1,4 @@
+import {Interactive} from 'remotion';
import {
AnimatedCaptions as SharedAnimatedCaptions,
CAPTIONS_HEIGHT,
@@ -8,7 +9,7 @@ export const VOICEOVER_FILE = 'text-behind-video-2.wav';
export const CAPTIONS_DURATION_IN_FRAMES = 1816;
export {CAPTIONS_HEIGHT};
-export const AnimatedCaptions: React.FC = () => {
+const AnimatedCaptionsInner: React.FC = () => {
return (
<SharedAnimatedCaptions
captions={[
@@ -1173,3 +1174,11 @@ export const AnimatedCaptions: React.FC = () => {
/>
);
};
+
+export const AnimatedCaptions = Interactive.withSchema({
+ Component: AnimatedCaptionsInner,
+ componentName: '<AnimatedCaptions>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
index 654381c7d8..cf9da024f8 100644
--- a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
@@ -6,7 +6,6 @@ import {
Easing,
Interactive,
interpolate,
- Sequence,
useCurrentFrame,
useDelayRender,
useVideoConfig,
@@ -22,7 +21,7 @@ const FONT_FAMILY = 'Arial Black, Arial, sans-serif';
const SWITCH_CAPTIONS_EVERY_MS = 1100;
const HIGHLIGHT_COLOR = '#ff3b1f';
-const BigWordPage: React.FC<{page: TikTokPage}> = ({page}) => {
+const BigWordPageInner: React.FC<{page: TikTokPage}> = ({page}) => {
const frame = useCurrentFrame();
const {fps} = useVideoConfig();
const absoluteTimeMs = page.startMs + (frame / fps) * 1000;
@@ -34,6 +33,7 @@ const BigWordPage: React.FC<{page: TikTokPage}> = ({page}) => {
return (
<AbsoluteFill
+ showInTimeline={false}
premountFor={fps}
style={{
alignItems: 'center',
@@ -114,7 +114,15 @@ const BigWordPage: React.FC<{page: TikTokPage}> = ({page}) => {
);
};
-export const AnimatedCaptionsBigWords: React.FC = () => {
+const BigWordPage = Interactive.withSchema({
+ Component: BigWordPageInner,
+ componentName: '<BigWordPage>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+const AnimatedCaptionsBigWordsInner: React.FC = () => {
const [captions, setCaptions] = useState<Caption[] | null>(null);
const {delayRender, continueRender, cancelRender} = useDelayRender();
const [handle] = useState(() => delayRender('Loading big word captions'));
@@ -155,7 +163,7 @@ export const AnimatedCaptionsBigWords: React.FC = () => {
}
return (
- <AbsoluteFill premountFor={fps}>
+ <AbsoluteFill showInTimeline={false} premountFor={fps}>
<Audio
premountFor={fps}
src={asset(VOICEOVER_FILE)}
@@ -177,18 +185,25 @@ export const AnimatedCaptionsBigWords: React.FC = () => {
const durationInFrames = Math.max(1, endFrame - startFrame);
return (
- <Sequence
+ <BigWordPage
key={`${page.startMs}-${index}`}
name={`Caption page: ${page.text.trim()}`}
from={startFrame}
durationInFrames={durationInFrames}
premountFor={fps}
showInTimeline={false}
- >
- <BigWordPage page={page} />
- </Sequence>
+ page={page}
+ />
);
})}
</AbsoluteFill>
);
};
+
+export const AnimatedCaptionsBigWords = Interactive.withSchema({
+ Component: AnimatedCaptionsBigWordsInner,
+ componentName: '<AnimatedCaptionsBigWords>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx b/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
index ef5619e940..defe244eaf 100644
--- a/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
@@ -3,6 +3,7 @@ import {scale} from '@remotion/effects/scale';
import {Arrow} from '@remotion/shapes';
import React from 'react';
import {
+ Interactive,
useVideoConfig,
CanvasImage,
interpolate,
@@ -10,7 +11,7 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const ArrowLogo: React.FC = () => {
+const ArrowLogoInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -65,3 +66,11 @@ export const ArrowLogo: React.FC = () => {
</>
);
};
+
+export const ArrowLogo = Interactive.withSchema({
+ Component: ArrowLogoInner,
+ componentName: '<ArrowLogo>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx b/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
index eaf740dc95..3c5f7e00f5 100644
--- a/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
@@ -3,10 +3,15 @@ import {scale} from '@remotion/effects/scale';
import {noise2D} from '@remotion/noise';
import {Arrow} from '@remotion/shapes';
import React from 'react';
-import {useVideoConfig, CanvasImage, useCurrentFrame} from 'remotion';
+import {
+ Interactive,
+ useVideoConfig,
+ CanvasImage,
+ useCurrentFrame,
+} from 'remotion';
import {asset} from './assets';
-export const ArrowLogoRemotion: React.FC = () => {
+const ArrowLogoRemotionInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -60,3 +65,11 @@ export const ArrowLogoRemotion: React.FC = () => {
</>
);
};
+
+export const ArrowLogoRemotion = Interactive.withSchema({
+ Component: ArrowLogoRemotionInner,
+ componentName: '<ArrowLogoRemotion>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx b/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx
index 521e2504f6..ffeb92d7bc 100644
--- a/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx
@@ -1,8 +1,8 @@
import {Video} from '@remotion/media';
import React from 'react';
import {
+ Interactive,
useVideoConfig,
- Sequence,
Solid,
interpolate,
useCurrentFrame,
@@ -13,12 +13,12 @@ import {Clip1} from './Clip1';
import {Clip3} from './Clip3';
import {Clip4} from './Clip4';
-export const BirthdayPartyCompilation: React.FC = () => {
+const BirthdayPartyCompilationInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
- <Sequence
+ <Clip1
name="Clip1"
width={1080}
height={1920}
@@ -28,10 +28,8 @@ export const BirthdayPartyCompilation: React.FC = () => {
}}
from={93}
premountFor={fps}
- >
- <Clip1 />
- </Sequence>
- <Sequence
+ />
+ <Clip3
name="Clip3"
width={1080}
height={1920}
@@ -41,10 +39,8 @@ export const BirthdayPartyCompilation: React.FC = () => {
}}
from={37}
premountFor={fps}
- >
- <Clip3 />
- </Sequence>
- <Sequence
+ />
+ <Clip4
name="Clip4"
width={1080}
height={1920}
@@ -54,9 +50,7 @@ export const BirthdayPartyCompilation: React.FC = () => {
}}
from={134}
premountFor={fps}
- >
- <Clip4 />
- </Sequence>
+ />
<Video
src={asset('Setup.mp4')}
style={{
@@ -98,3 +92,11 @@ export const BirthdayPartyCompilation: React.FC = () => {
</>
);
};
+
+export const BirthdayPartyCompilation = Interactive.withSchema({
+ Component: BirthdayPartyCompilationInner,
+ componentName: '<BirthdayPartyCompilation>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx b/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
index 990ccb8b4f..541403d3dc 100644
--- a/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
@@ -14,7 +14,7 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const ClientSideChad: React.FC = () => {
+const ClientSideChadInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
const title = 'BEN2-ONNX';
@@ -274,3 +274,11 @@ export const ClientSideChad: React.FC = () => {
</>
);
};
+
+export const ClientSideChad = Interactive.withSchema({
+ Component: ClientSideChadInner,
+ componentName: '<ClientSideChad>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip1.tsx b/packages/jonnys-videos/src/disco-light-show/Clip1.tsx
index d0929f6855..1dcc3be848 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip1.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip1.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const Clip1: React.FC = () => {
+const Clip1Inner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -24,3 +24,11 @@ export const Clip1: React.FC = () => {
</>
);
};
+
+export const Clip1 = Interactive.withSchema({
+ Component: Clip1Inner,
+ componentName: '<Clip1>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip2.tsx b/packages/jonnys-videos/src/disco-light-show/Clip2.tsx
index eb94d7e602..bd6ee9ba79 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip2.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip2.tsx
@@ -1,8 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
+import {Interactive} from 'remotion';
import {asset} from './assets';
-export const Clip2: React.FC = () => {
+const Clip2Inner: React.FC = () => {
return (
<>
<Video
@@ -19,3 +20,11 @@ export const Clip2: React.FC = () => {
</>
);
};
+
+export const Clip2 = Interactive.withSchema({
+ Component: Clip2Inner,
+ componentName: '<Clip2>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip3.tsx b/packages/jonnys-videos/src/disco-light-show/Clip3.tsx
index 4a590dadfa..b140c74c57 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip3.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip3.tsx
@@ -1,10 +1,15 @@
import {linearProgressiveBlur} from '@remotion/effects/linear-progressive-blur';
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig, interpolate, useCurrentFrame} from 'remotion';
+import {
+ Interactive,
+ useVideoConfig,
+ interpolate,
+ useCurrentFrame,
+} from 'remotion';
import {asset} from './assets';
-export const Clip3: React.FC = () => {
+const Clip3Inner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -36,3 +41,11 @@ export const Clip3: React.FC = () => {
</>
);
};
+
+export const Clip3 = Interactive.withSchema({
+ Component: Clip3Inner,
+ componentName: '<Clip3>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip4.tsx b/packages/jonnys-videos/src/disco-light-show/Clip4.tsx
index 533e31d93b..6896376687 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip4.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip4.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const Clip4: React.FC = () => {
+const Clip4Inner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -23,3 +23,11 @@ export const Clip4: React.FC = () => {
</>
);
};
+
+export const Clip4 = Interactive.withSchema({
+ Component: Clip4Inner,
+ componentName: '<Clip4>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip5.tsx b/packages/jonnys-videos/src/disco-light-show/Clip5.tsx
index f7e36d7d05..cdd105a6c6 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip5.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip5.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const Clip5: React.FC = () => {
+const Clip5Inner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -25,3 +25,11 @@ export const Clip5: React.FC = () => {
</>
);
};
+
+export const Clip5 = Interactive.withSchema({
+ Component: Clip5Inner,
+ componentName: '<Clip5>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Compilation.tsx b/packages/jonnys-videos/src/disco-light-show/Compilation.tsx
index 5fe97cac7d..9fdc26cea3 100644
--- a/packages/jonnys-videos/src/disco-light-show/Compilation.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Compilation.tsx
@@ -1,8 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
+import {Interactive} from 'remotion';
import {asset} from './assets';
-export const Compilation: React.FC = () => {
+const CompilationInner: React.FC = () => {
return (
<>
<Video
@@ -20,3 +21,11 @@ export const Compilation: React.FC = () => {
</>
);
};
+
+export const Compilation = Interactive.withSchema({
+ Component: CompilationInner,
+ componentName: '<Compilation>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Composition.tsx b/packages/jonnys-videos/src/disco-light-show/Composition.tsx
index 6f44035b4f..3439a8b5af 100644
--- a/packages/jonnys-videos/src/disco-light-show/Composition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Composition.tsx
@@ -1,10 +1,10 @@
import {Audio, Video} from '@remotion/media';
import {
+ Interactive,
useVideoConfig,
Composition,
Easing,
Folder,
- Sequence,
interpolate,
useCurrentFrame,
CanvasImage,
@@ -74,12 +74,12 @@ export const MyComposition = () => {
);
};
-export const MyComponent: React.FC = () => {
+const MyComponentInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
- <Sequence
+ <DiscoBallBg
premountFor={fps}
name="DiscoBallBg"
width={1080}
@@ -88,10 +88,8 @@ export const MyComponent: React.FC = () => {
style={{
position: 'absolute',
}}
- >
- <DiscoBallBg />
- </Sequence>
- <Sequence
+ />
+ <TextBackgroundComposition
premountFor={fps}
name="Text background"
width={1920}
@@ -161,10 +159,8 @@ export const MyComponent: React.FC = () => {
},
),
}}
- >
- <TextBackgroundComposition />
- </Sequence>
- <Sequence
+ />
+ <BirthdayPartyCompilation
name="BirthdayPartyCompilation"
width={1080}
height={1920}
@@ -174,15 +170,13 @@ export const MyComponent: React.FC = () => {
}}
from={182}
premountFor={fps}
- >
- <BirthdayPartyCompilation />
- </Sequence>
+ />
<Audio
premountFor={fps}
name="Voiceover"
src={asset('text-behind-video-2.wav')}
/>
- <Sequence
+ <AnimatedCaptions
premountFor={fps}
name="AnimatedCaptions"
width={1080}
@@ -192,10 +186,8 @@ export const MyComponent: React.FC = () => {
position: 'absolute',
translate: '0px 1132.3px',
}}
- >
- <AnimatedCaptions />
- </Sequence>
- <Sequence
+ />
+ <AnimatedCaptions
premountFor={fps}
name="AnimatedCaptions"
width={1080}
@@ -207,10 +199,8 @@ export const MyComponent: React.FC = () => {
position: 'absolute',
translate: '0px 1132.3px',
}}
- >
- <AnimatedCaptions />
- </Sequence>
- <Sequence
+ />
+ <AnimatedCaptions
premountFor={fps}
name="AnimatedCaptions"
width={1080}
@@ -240,10 +230,8 @@ export const MyComponent: React.FC = () => {
},
),
}}
- >
- <AnimatedCaptions />
- </Sequence>
- <Sequence
+ />
+ <AnimatedCaptionsBigWords
premountFor={fps}
name="AnimatedCaptionsBigWords"
width={1080}
@@ -274,10 +262,8 @@ export const MyComponent: React.FC = () => {
},
),
}}
- >
- <AnimatedCaptionsBigWords />
- </Sequence>
- <Sequence
+ />
+ <EffectShow
name="EffectShow"
width={1080}
height={1920}
@@ -321,10 +307,8 @@ export const MyComponent: React.FC = () => {
}}
from={337}
premountFor={fps}
- >
- <EffectShow />
- </Sequence>
- <Sequence
+ />
+ <HuggingFace
name="HuggingFace"
width={1920}
height={1080}
@@ -368,10 +352,8 @@ export const MyComponent: React.FC = () => {
}}
from={537}
premountFor={fps}
- >
- <HuggingFace />
- </Sequence>
- <Sequence
+ />
+ <ClientSideChad
name="ClientSideChad"
width={1080}
height={1920}
@@ -385,10 +367,8 @@ export const MyComponent: React.FC = () => {
}}
from={694}
premountFor={fps}
- >
- <ClientSideChad />
- </Sequence>
- <Sequence
+ />
+ <Separate
name="Separate"
width={1080}
height={1920}
@@ -455,10 +435,8 @@ export const MyComponent: React.FC = () => {
),
}}
premountFor={fps}
- >
- <Separate />
- </Sequence>
- <Sequence
+ />
+ <Fork
name="Fork"
width={1080}
height={1920}
@@ -513,10 +491,8 @@ export const MyComponent: React.FC = () => {
}}
from={953}
premountFor={fps}
- >
- <Fork />
- </Sequence>
- <Sequence
+ />
+ <ForkDrop
premountFor={fps}
name="ForkDrop"
width={1080}
@@ -546,10 +522,8 @@ export const MyComponent: React.FC = () => {
),
scale: 1,
}}
- >
- <ForkDrop />
- </Sequence>
- <Sequence
+ />
+ <OneShot
name="OneShot"
width={1080}
height={1080}
@@ -594,10 +568,8 @@ export const MyComponent: React.FC = () => {
}}
from={1093}
premountFor={fps}
- >
- <OneShot />
- </Sequence>
- <Sequence
+ />
+ <VibeCoded
name="VibeCoded"
width={1080}
height={1080}
@@ -642,10 +614,8 @@ export const MyComponent: React.FC = () => {
from={1125}
premountFor={fps}
trimBefore={35}
- >
- <VibeCoded />
- </Sequence>
- <Sequence
+ />
+ <Mediabunny
name="Mediabunny"
width={1080}
height={1920}
@@ -655,10 +625,8 @@ export const MyComponent: React.FC = () => {
position: 'absolute',
}}
premountFor={fps}
- >
- <Mediabunny />
- </Sequence>
- <Sequence
+ />
+ <DragInDemo
premountFor={fps}
name="DragInDemo"
width={1080}
@@ -694,10 +662,8 @@ export const MyComponent: React.FC = () => {
),
}}
from={1245}
- >
- <DragInDemo />
- </Sequence>
- <Sequence
+ />
+ <TextBehindVideoStackComposition
name="TextBehindVideoStack"
width={1080}
height={1920}
@@ -717,9 +683,7 @@ export const MyComponent: React.FC = () => {
}}
from={1337}
premountFor={fps}
- >
- <TextBehindVideoStackComposition />
- </Sequence>
+ />
<CanvasImage
premountFor={fps}
src={asset('Screenshot 2026-07-19 at 18.28.52.png')}
@@ -811,26 +775,30 @@ export const MyComponent: React.FC = () => {
premountFor={fps}
playbackRate={0.8}
/>
- <Sequence
+ <TextBehindVideoSeriesFirst20sComposition
name="TextBehindVideoSeriesFirst20s"
from={1648}
premountFor={fps}
durationInFrames={TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES}
width={1080}
height={1920}
- >
- <TextBehindVideoSeriesFirst20sComposition />
- </Sequence>
- <Sequence
+ />
+ <Countdown
premountFor={fps}
name="Countdown"
from={1556}
durationInFrames={COUNTDOWN_DURATION_IN_FRAMES}
width={1080}
height={1920}
- >
- <Countdown />
- </Sequence>
+ />
</>
);
};
+
+export const MyComponent = Interactive.withSchema({
+ Component: MyComponentInner,
+ componentName: '<MyComponent>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Countdown.tsx b/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
index afbdf58627..ed801590da 100644
--- a/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
@@ -13,20 +13,19 @@ export const COUNTDOWN_DURATION_IN_FRAMES = 59;
const CountdownPageInner: React.FC<{
readonly number: string;
- readonly style: React.CSSProperties | null;
-}> = ({number, style}) => {
+}> = ({number}) => {
const {fps, durationInFrames} = useVideoConfig();
const frame = useCurrentFrame();
return (
<AbsoluteFill
+ showInTimeline={false}
premountFor={fps}
style={{
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
pointerEvents: 'none',
- ...style,
}}
>
<Interactive.Div
@@ -78,21 +77,20 @@ const CountdownPage = Interactive.withSchema({
componentName: '<CountdownPage>',
schema: countdownPageSchema,
wrapInSequence: true,
+ layout: 'absolute-fill',
});
-export const Countdown: React.FC = () => {
+const CountdownInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
- <AbsoluteFill premountFor={fps}>
+ <AbsoluteFill showInTimeline={false} premountFor={fps}>
<CountdownPage
- style={null}
name="Countdown 3"
number="3"
durationInFrames={20}
premountFor={fps}
/>
<CountdownPage
- style={null}
name="Countdown 2"
number="2"
from={20}
@@ -100,7 +98,6 @@ export const Countdown: React.FC = () => {
premountFor={fps}
/>
<CountdownPage
- style={null}
name="Countdown 1"
number="1"
from={40}
@@ -110,3 +107,11 @@ export const Countdown: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const Countdown = Interactive.withSchema({
+ Component: CountdownInner,
+ componentName: '<Countdown>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx b/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx
index db60e74089..418b7b0e73 100644
--- a/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx
@@ -7,6 +7,7 @@ import {wave} from '@remotion/effects/wave';
import {Video} from '@remotion/media';
import React from 'react';
import {
+ Interactive,
useVideoConfig,
Solid,
Sequence,
@@ -15,7 +16,7 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const DiscoBallBg: React.FC = () => {
+const DiscoBallBgInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -118,3 +119,11 @@ export const DiscoBallBg: React.FC = () => {
</>
);
};
+
+export const DiscoBallBg = Interactive.withSchema({
+ Component: DiscoBallBgInner,
+ componentName: '<DiscoBallBg>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/DragIn.tsx b/packages/jonnys-videos/src/disco-light-show/DragIn.tsx
index b9a16fa80a..c3f78cc7f2 100644
--- a/packages/jonnys-videos/src/disco-light-show/DragIn.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/DragIn.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import {AbsoluteFill, Interactive} from 'remotion';
import {asset} from './assets';
-export const DragIn: React.FC = () => {
+const DragInInner: React.FC = () => {
return (
<>
<Video
@@ -14,7 +14,7 @@ export const DragIn: React.FC = () => {
height: 1080,
}}
/>
- <AbsoluteFill>
+ <AbsoluteFill showInTimeline={false}>
<Interactive.Div>FOLLOW ME</Interactive.Div>
</AbsoluteFill>
<Video
@@ -28,3 +28,11 @@ export const DragIn: React.FC = () => {
</>
);
};
+
+export const DragIn = Interactive.withSchema({
+ Component: DragInInner,
+ componentName: '<DragIn>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx b/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
index 8df417baa2..7c0d9cfe2a 100644
--- a/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const DragInDemo: React.FC = () => {
+const DragInDemoInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -26,3 +26,11 @@ export const DragInDemo: React.FC = () => {
</>
);
};
+
+export const DragInDemo = Interactive.withSchema({
+ Component: DragInDemoInner,
+ componentName: '<DragInDemo>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx b/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx
index 05f18aaf10..69573d9dd1 100644
--- a/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const EffectShow: React.FC = () => {
+const EffectShowInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -25,3 +25,11 @@ export const EffectShow: React.FC = () => {
</>
);
};
+
+export const EffectShow = Interactive.withSchema({
+ Component: EffectShowInner,
+ componentName: '<EffectShow>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Fork.tsx b/packages/jonnys-videos/src/disco-light-show/Fork.tsx
index 035a318293..ddf1e0e555 100644
--- a/packages/jonnys-videos/src/disco-light-show/Fork.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Fork.tsx
@@ -1,6 +1,7 @@
import {Video} from '@remotion/media';
import React from 'react';
import {
+ Interactive,
useVideoConfig,
CanvasImage,
interpolate,
@@ -9,7 +10,7 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const Fork: React.FC = () => {
+const ForkInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -67,3 +68,11 @@ export const Fork: React.FC = () => {
</>
);
};
+
+export const Fork = Interactive.withSchema({
+ Component: ForkInner,
+ componentName: '<Fork>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx b/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
index 15e0473fa2..e60e47cd22 100644
--- a/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
@@ -10,12 +10,16 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const ForkDrop: React.FC = () => {
+const ForkDropInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill premountFor={fps} style={{overflow: 'hidden'}}>
+ <AbsoluteFill
+ showInTimeline={false}
+ premountFor={fps}
+ style={{overflow: 'hidden'}}
+ >
<CanvasImage
premountFor={fps}
name="Cursor chat window"
@@ -141,3 +145,11 @@ export const ForkDrop: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const ForkDrop = Interactive.withSchema({
+ Component: ForkDropInner,
+ componentName: '<ForkDrop>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx b/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx
index 5b776547f4..fcd1f06007 100644
--- a/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const HuggingFace: React.FC = () => {
+const HuggingFaceInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -26,3 +26,11 @@ export const HuggingFace: React.FC = () => {
</>
);
};
+
+export const HuggingFace = Interactive.withSchema({
+ Component: HuggingFaceInner,
+ componentName: '<HuggingFace>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx b/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx
index a9f2c64e9f..a2bb2b6bdb 100644
--- a/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/MasterWithEffect.tsx
@@ -2,6 +2,7 @@ import {chromaticAberration} from '@remotion/effects/chromatic-aberration';
import {noise} from '@remotion/effects/noise';
import {scanlines} from '@remotion/effects/scanlines';
import {
+ Interactive,
AbsoluteFill,
Easing,
HtmlInCanvas,
@@ -11,12 +12,12 @@ import {
} from 'remotion';
import {MyComponent} from './Composition';
-export const MasterWithEffect: React.FC = () => {
+const MasterWithEffectInner: React.FC = () => {
const frame = useCurrentFrame();
const {durationInFrames, height, width} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: 'black'}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<HtmlInCanvas
name="Master CRT screen"
width={width}
@@ -171,3 +172,11 @@ export const MasterWithEffect: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const MasterWithEffect = Interactive.withSchema({
+ Component: MasterWithEffectInner,
+ componentName: '<MasterWithEffect>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx b/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
index 1a6e4051d6..65b64fb677 100644
--- a/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
@@ -1,5 +1,6 @@
import React from 'react';
import {
+ Interactive,
useVideoConfig,
CanvasImage,
interpolate,
@@ -7,7 +8,7 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const Mediabunny: React.FC = () => {
+const MediabunnyInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -34,3 +35,11 @@ export const Mediabunny: React.FC = () => {
</>
);
};
+
+export const Mediabunny = Interactive.withSchema({
+ Component: MediabunnyInner,
+ componentName: '<Mediabunny>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/OneShot.tsx b/packages/jonnys-videos/src/disco-light-show/OneShot.tsx
index cab22837da..a884d48a09 100644
--- a/packages/jonnys-videos/src/disco-light-show/OneShot.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/OneShot.tsx
@@ -9,7 +9,7 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const OneShot: React.FC = () => {
+const OneShotInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -59,3 +59,11 @@ export const OneShot: React.FC = () => {
</>
);
};
+
+export const OneShot = Interactive.withSchema({
+ Component: OneShotInner,
+ componentName: '<OneShot>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx b/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx
index 6be99654be..b6924208cd 100644
--- a/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx
@@ -3,6 +3,7 @@ import {noise} from '@remotion/effects/noise';
import {rings} from '@remotion/effects/rings';
import {wave} from '@remotion/effects/wave';
import {
+ Interactive,
AbsoluteFill,
interpolate,
Solid,
@@ -12,12 +13,12 @@ import {
export const SCREEN_RECORDING_DURATION_IN_FRAMES = 280;
-export const ScreenRecordingComposition: React.FC = () => {
+const ScreenRecordingCompositionInner: React.FC = () => {
const frame = useCurrentFrame();
const {fps, durationInFrames} = useVideoConfig();
return (
- <AbsoluteFill premountFor={fps}>
+ <AbsoluteFill showInTimeline={false} premountFor={fps}>
<Solid
premountFor={fps}
width={1080}
@@ -69,3 +70,11 @@ export const ScreenRecordingComposition: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const ScreenRecordingComposition = Interactive.withSchema({
+ Component: ScreenRecordingCompositionInner,
+ componentName: '<ScreenRecordingComposition>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Separate.tsx b/packages/jonnys-videos/src/disco-light-show/Separate.tsx
index 9749614d0d..68a284dd3e 100644
--- a/packages/jonnys-videos/src/disco-light-show/Separate.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Separate.tsx
@@ -1,9 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig} from 'remotion';
+import {Interactive, useVideoConfig} from 'remotion';
import {asset} from './assets';
-export const Separate: React.FC = () => {
+const SeparateInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
@@ -23,3 +23,11 @@ export const Separate: React.FC = () => {
</>
);
};
+
+export const Separate = Interactive.withSchema({
+ Component: SeparateInner,
+ componentName: '<Separate>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Setup.tsx b/packages/jonnys-videos/src/disco-light-show/Setup.tsx
index 568bee6938..8bf808f032 100644
--- a/packages/jonnys-videos/src/disco-light-show/Setup.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Setup.tsx
@@ -1,8 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
+import {Interactive} from 'remotion';
import {asset} from './assets';
-export const Setup: React.FC = () => {
+const SetupInner: React.FC = () => {
return (
<>
<Video
@@ -22,3 +23,11 @@ export const Setup: React.FC = () => {
</>
);
};
+
+export const Setup = Interactive.withSchema({
+ Component: SetupInner,
+ componentName: '<Setup>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx b/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx
index 7e8827ef1a..d7547be3c8 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx
@@ -1,7 +1,7 @@
import {Video} from '@remotion/media';
import {
+ Interactive,
useVideoConfig,
- Sequence,
interpolate,
useCurrentFrame,
Easing,
@@ -12,7 +12,7 @@ import {asset} from './assets';
export const TEXT_BACKGROUND_DURATION_IN_FRAMES = 226;
-export const TextBackgroundComposition: React.FC = () => {
+const TextBackgroundCompositionInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -28,7 +28,7 @@ export const TextBackgroundComposition: React.FC = () => {
trimBefore={2916}
durationInFrames={TEXT_BACKGROUND_DURATION_IN_FRAMES}
/>
- <Sequence
+ <ArrowLogo
premountFor={fps}
name="ArrowLogo"
width={1920}
@@ -90,10 +90,8 @@ export const TextBackgroundComposition: React.FC = () => {
}),
}}
from={94}
- >
- <ArrowLogo />
- </Sequence>
- <Sequence
+ />
+ <ArrowLogoRemotion
premountFor={fps}
name="ArrowLogoRemotion"
width={1920}
@@ -120,9 +118,15 @@ export const TextBackgroundComposition: React.FC = () => {
transformOrigin: '50.46% 15.88%',
}}
from={134}
- >
- <ArrowLogoRemotion />
- </Sequence>
+ />
</>
);
};
+
+export const TextBackgroundComposition = Interactive.withSchema({
+ Component: TextBackgroundCompositionInner,
+ componentName: '<TextBackgroundComposition>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
index 655f6eaac5..66c383e079 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
@@ -1,24 +1,24 @@
import {Video} from '@remotion/media';
import {
+ Interactive,
useVideoConfig,
Composition,
Easing,
interpolate,
useCurrentFrame,
- Sequence,
} from 'remotion';
import {asset} from './assets';
import {Clip5} from './Clip5';
export const TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES = 190;
-export const TextBehindVideoSeriesFirst20sComposition: React.FC = () => {
+const TextBehindVideoSeriesFirst20sCompositionInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
- <Sequence
+ <Clip5
premountFor={fps}
name="Clip5"
width={1080}
@@ -48,10 +48,8 @@ export const TextBehindVideoSeriesFirst20sComposition: React.FC = () => {
),
}}
from={-1}
- >
- <Clip5 />
- </Sequence>
- <Sequence
+ />
+ <Clip5
premountFor={fps}
name="Clip5-copy"
width={1080}
@@ -81,9 +79,7 @@ export const TextBehindVideoSeriesFirst20sComposition: React.FC = () => {
),
}}
from={-1}
- >
- <Clip5 />
- </Sequence>
+ />
<Video
premountFor={fps}
name="Text behind video"
@@ -138,3 +134,11 @@ export const TextBehindVideoSeriesFirst20s: React.FC = () => {
/>
);
};
+
+export const TextBehindVideoSeriesFirst20sComposition = Interactive.withSchema({
+ Component: TextBehindVideoSeriesFirst20sCompositionInner,
+ componentName: '<TextBehindVideoSeriesFirst20sComposition>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
index 022a58bbe9..f004e86ba5 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
@@ -10,12 +10,16 @@ import {
} from 'remotion';
import {asset} from './assets';
-export const TextBehindVideoStackComposition: React.FC = () => {
+const TextBehindVideoStackCompositionInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill premountFor={fps} style={{overflow: 'hidden'}}>
+ <AbsoluteFill
+ showInTimeline={false}
+ premountFor={fps}
+ style={{overflow: 'hidden'}}
+ >
<Interactive.Div
premountFor={fps}
name="Background video"
@@ -173,3 +177,11 @@ export const TextBehindVideoStack: React.FC = () => {
/>
);
};
+
+export const TextBehindVideoStackComposition = Interactive.withSchema({
+ Component: TextBehindVideoStackCompositionInner,
+ componentName: '<TextBehindVideoStackComposition>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx b/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
index 331b6fd59e..b19961d378 100644
--- a/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
@@ -1,9 +1,14 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {useVideoConfig, interpolate, useCurrentFrame} from 'remotion';
+import {
+ Interactive,
+ useVideoConfig,
+ interpolate,
+ useCurrentFrame,
+} from 'remotion';
import {asset} from './assets';
-export const VibeCoded: React.FC = () => {
+const VibeCodedInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -31,3 +36,11 @@ export const VibeCoded: React.FC = () => {
</>
);
};
+
+export const VibeCoded = Interactive.withSchema({
+ Component: VibeCodedInner,
+ componentName: '<VibeCoded>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/how-can-remotion-be-free/FirstCustomerChart.tsx b/packages/jonnys-videos/src/how-can-remotion-be-free/FirstCustomerChart.tsx
index c2d2e06fc2..5ed3c43495 100644
--- a/packages/jonnys-videos/src/how-can-remotion-be-free/FirstCustomerChart.tsx
+++ b/packages/jonnys-videos/src/how-can-remotion-be-free/FirstCustomerChart.tsx
@@ -54,11 +54,11 @@ const ZeroMonth: React.FC<(typeof MONTHS)[number]> = ({x, delay}) => {
);
};
-export const FirstCustomerChart: React.FC = () => {
+const FirstCustomerChartInner: React.FC = () => {
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{overflow: 'hidden'}}>
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
<Interactive.Div
name="First customer chart"
style={{
@@ -353,3 +353,11 @@ export const FirstCustomerChart: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const FirstCustomerChart = Interactive.withSchema({
+ Component: FirstCustomerChartInner,
+ componentName: '<FirstCustomerChart>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/how-can-remotion-be-free/HowCanRemotionBeFree.tsx b/packages/jonnys-videos/src/how-can-remotion-be-free/HowCanRemotionBeFree.tsx
index ded74de504..b8aa497ca2 100644
--- a/packages/jonnys-videos/src/how-can-remotion-be-free/HowCanRemotionBeFree.tsx
+++ b/packages/jonnys-videos/src/how-can-remotion-be-free/HowCanRemotionBeFree.tsx
@@ -1,6 +1,6 @@
import {Audio} from '@remotion/media';
import React from 'react';
-import {Sequence, Solid} from 'remotion';
+import {Interactive, Solid} from 'remotion';
import {
AnimatedCaptions,
CAPTIONS_HEIGHT,
@@ -26,7 +26,7 @@ const UNRULY_OUTCOME_START_FRAME = 134;
const FIRST_CUSTOMER_CHART_START_FRAME = 649;
const SWITZERLAND_SCENE_START_FRAME = 866;
-export const HowCanRemotionBeFree: React.FC = () => {
+const HowCanRemotionBeFreeInner: React.FC = () => {
return (
<>
<Audio
@@ -41,39 +41,31 @@ export const HowCanRemotionBeFree: React.FC = () => {
position: 'absolute',
}}
/>
- <Sequence
+ <PremiumVersion
name="Premium version"
from={PREMIUM_VERSION_START_FRAME}
durationInFrames={PREMIUM_VERSION_DURATION_IN_FRAMES}
premountFor={30}
- >
- <PremiumVersion />
- </Sequence>
- <Sequence
+ />
+ <UnrulyOutcome
name="Unruly outcome"
from={UNRULY_OUTCOME_START_FRAME}
durationInFrames={UNRULY_OUTCOME_DURATION_IN_FRAMES}
premountFor={30}
- >
- <UnrulyOutcome />
- </Sequence>
- <Sequence
+ />
+ <FirstCustomerChart
name="First customer chart"
from={FIRST_CUSTOMER_CHART_START_FRAME}
durationInFrames={FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES}
premountFor={30}
- >
- <FirstCustomerChart />
- </Sequence>
- <Sequence
+ />
+ <ZurichPhoto
name="Switzerland photograph and watch"
from={SWITZERLAND_SCENE_START_FRAME}
durationInFrames={ZURICH_PHOTO_DURATION_IN_FRAMES}
premountFor={30}
- >
- <ZurichPhoto />
- </Sequence>
- <Sequence
+ />
+ <AnimatedCaptions
name="AnimatedCaptions"
width={1080}
height={CAPTIONS_HEIGHT}
@@ -81,1407 +73,1412 @@ export const HowCanRemotionBeFree: React.FC = () => {
position: 'absolute',
translate: '0px 780px',
}}
- >
- <AnimatedCaptions
- captions={[
- {
- text: 'How',
- startMs: 30,
- endMs: 190,
- timestampMs: 180,
- confidence: 0.880476,
- },
- {
- text: ' is',
- startMs: 190,
- endMs: 360,
- timestampMs: 380,
- confidence: 0.988433,
- },
- {
- text: ' it',
- startMs: 360,
- endMs: 430,
- timestampMs: 520,
- confidence: 0.996489,
- },
- {
- text: ' possible',
- startMs: 430,
- endMs: 940,
- timestampMs: 900,
- confidence: 0.999329,
- },
- {
- text: ' that',
- startMs: 940,
- endMs: 1190,
- timestampMs: 1220,
- confidence: 0.986024,
- },
- {
- text: ' Remotion',
- startMs: 1190,
- endMs: 1700,
- timestampMs: 1400,
- confidence: 0.452537,
- },
- {
- text: ' is',
- startMs: 1700,
- endMs: 1810,
- timestampMs: 1840,
- confidence: 0.9972,
- },
- {
- text: ' free?',
- startMs: 1810,
- endMs: 2320,
- timestampMs: 2100,
- confidence: 0.946539,
- },
- {
- text: ' Will',
- startMs: 2320,
- endMs: 2560,
- timestampMs: 2460,
- confidence: 0.99412,
- },
- {
- text: ' there',
- startMs: 2560,
- endMs: 2860,
- timestampMs: 2600,
- confidence: 0.993002,
- },
- {
- text: ' be',
- startMs: 2860,
- endMs: 2980,
- timestampMs: 2840,
- confidence: 0.986816,
- },
- {
- text: ' ads,',
- startMs: 2980,
- endMs: 3310,
- timestampMs: 3120,
- confidence: 0.7704,
- },
- {
- text: ' a',
- startMs: 3310,
- endMs: 3370,
- timestampMs: 3540,
- confidence: 0.975348,
- },
- {
- text: ' premium',
- startMs: 3370,
- endMs: 3920,
- timestampMs: 3760,
- confidence: 0.984281,
- },
- {
- text: ' version,',
- startMs: 3920,
- endMs: 4480,
- timestampMs: 4180,
- confidence: 0.581978,
- },
- {
- text: ' or',
- startMs: 4480,
- endMs: 4590,
- timestampMs: 4620,
- confidence: 0.998814,
- },
- {
- text: ' are',
- startMs: 4590,
- endMs: 4760,
- timestampMs: 4860,
- confidence: 0.998144,
- },
- {
- text: ' we',
- startMs: 4760,
- endMs: 4870,
- timestampMs: 5000,
- confidence: 0.996786,
- },
- {
- text: ' steering',
- startMs: 4870,
- endMs: 5350,
- timestampMs: 5240,
- confidence: 0.980984,
- },
- {
- text: ' towards',
- startMs: 5350,
- endMs: 5730,
- timestampMs: 5560,
- confidence: 0.992877,
- },
- {
- text: ' an',
- startMs: 5730,
- endMs: 5840,
- timestampMs: 5780,
- confidence: 0.994514,
- },
- {
- text: ' unruly',
- startMs: 5840,
- endMs: 6180,
- timestampMs: 5980,
- confidence: 0.993566,
- },
- {
- text: ' outcome?',
- startMs: 6180,
- endMs: 6800,
- timestampMs: 6580,
- confidence: 0.986248,
- },
- {
- text: ' Well,',
- startMs: 6800,
- endMs: 7120,
- timestampMs: 6980,
- confidence: 0.76367,
- },
- {
- text: ' actually,',
- startMs: 7120,
- endMs: 7680,
- timestampMs: 7440,
- confidence: 0.774864,
- },
- {
- text: ' Remotion',
- startMs: 7680,
- endMs: 8220,
- timestampMs: 8000,
- confidence: 0.900556,
- },
- {
- text: ' is',
- startMs: 8220,
- endMs: 8380,
- timestampMs: 8420,
- confidence: 0.998753,
- },
- {
- text: ' not',
- startMs: 8380,
- endMs: 8550,
- timestampMs: 8620,
- confidence: 0.998738,
- },
- {
- text: ' always',
- startMs: 8550,
- endMs: 8960,
- timestampMs: 9000,
- confidence: 0.9996,
- },
- {
- text: ' free.',
- startMs: 8960,
- endMs: 9480,
- timestampMs: 9340,
- confidence: 0.985237,
- },
- {
- text: ' If',
- startMs: 9480,
- endMs: 9640,
- timestampMs: 9620,
- confidence: 0.997014,
- },
- {
- text: ' you',
- startMs: 9640,
- endMs: 9810,
- timestampMs: 9760,
- confidence: 0.999436,
- },
- {
- text: ' work',
- startMs: 9810,
- endMs: 10070,
- timestampMs: 9980,
- confidence: 0.996957,
- },
- {
- text: ' at',
- startMs: 10070,
- endMs: 10200,
- timestampMs: 10160,
- confidence: 0.99571,
- },
- {
- text: ' a',
- startMs: 10200,
- endMs: 10260,
- timestampMs: 10340,
- confidence: 0.991242,
- },
- {
- text: ' company',
- startMs: 10260,
- endMs: 10760,
- timestampMs: 10680,
- confidence: 0.999542,
- },
- {
- text: ' where',
- startMs: 10760,
- endMs: 10920,
- timestampMs: 10900,
- confidence: 0.475685,
- },
- {
- text: ' at',
- startMs: 10920,
- endMs: 11040,
- timestampMs: 11080,
- confidence: 0.86534,
- },
- {
- text: ' least',
- startMs: 11040,
- endMs: 11440,
- timestampMs: 11240,
- confidence: 0.998388,
- },
- {
- text: ' three',
- startMs: 11440,
- endMs: 11600,
- timestampMs: 11560,
- confidence: 0.539614,
- },
- {
- text: ' other',
- startMs: 11600,
- endMs: 11900,
- timestampMs: 11820,
- confidence: 0.773454,
- },
- {
- text: ' people',
- startMs: 11900,
- endMs: 12180,
- timestampMs: 12100,
- confidence: 0.871072,
- },
- {
- text: ' work,',
- startMs: 12180,
- endMs: 12580,
- timestampMs: 12420,
- confidence: 0.90639,
- },
- {
- text: ' you',
- startMs: 12580,
- endMs: 12780,
- timestampMs: 12700,
- confidence: 0.996333,
- },
- {
- text: ' need',
- startMs: 12780,
- endMs: 13070,
- timestampMs: 12880,
- confidence: 0.988704,
- },
- {
- text: ' a',
- startMs: 13070,
- endMs: 13120,
- timestampMs: 13140,
- confidence: 0.996675,
- },
- {
- text: ' company',
- startMs: 13120,
- endMs: 13600,
- timestampMs: 13440,
- confidence: 0.99843,
- },
- {
- text: ' license',
- startMs: 13600,
- endMs: 14080,
- timestampMs: 13800,
- confidence: 0.985306,
- },
- {
- text: ' to',
- startMs: 14080,
- endMs: 14210,
- timestampMs: 14120,
- confidence: 0.995232,
- },
- {
- text: ' use',
- startMs: 14210,
- endMs: 14410,
- timestampMs: 14320,
- confidence: 0.999192,
- },
- {
- text: ' Remotion.',
- startMs: 14410,
- endMs: 15240,
- timestampMs: 14620,
- confidence: 0.918254,
- },
- {
- text: ' Since',
- startMs: 15240,
- endMs: 15570,
- timestampMs: 15520,
- confidence: 0.999039,
- },
- {
- text: ' day',
- startMs: 15570,
- endMs: 15720,
- timestampMs: 15700,
- confidence: 0.972233,
- },
- {
- text: ' one,',
- startMs: 15720,
- endMs: 16020,
- timestampMs: 15920,
- confidence: 0.916864,
- },
- {
- text: ' this',
- startMs: 16020,
- endMs: 16260,
- timestampMs: 16120,
- confidence: 0.993085,
- },
- {
- text: ' is',
- startMs: 16260,
- endMs: 16380,
- timestampMs: 16240,
- confidence: 0.99768,
- },
- {
- text: ' our',
- startMs: 16380,
- endMs: 16580,
- timestampMs: 16520,
- confidence: 0.999253,
- },
- {
- text: ' business',
- startMs: 16580,
- endMs: 17040,
- timestampMs: 16840,
- confidence: 0.999207,
- },
- {
- text: ' model,',
- startMs: 17040,
- endMs: 17360,
- timestampMs: 17240,
- confidence: 0.835903,
- },
- {
- text: ' but',
- startMs: 17360,
- endMs: 17550,
- timestampMs: 17500,
- confidence: 0.99971,
- },
- {
- text: ' it',
- startMs: 17550,
- endMs: 17670,
- timestampMs: 17640,
- confidence: 0.999363,
- },
- {
- text: " wasn't",
- startMs: 17670,
- endMs: 18040,
- timestampMs: 17880,
- confidence: 0.999085,
- },
- {
- text: ' a',
- startMs: 18040,
- endMs: 18120,
- timestampMs: 18100,
- confidence: 0.998662,
- },
- {
- text: ' success',
- startMs: 18120,
- endMs: 18570,
- timestampMs: 18440,
- confidence: 0.999622,
- },
- {
- text: ' from',
- startMs: 18570,
- endMs: 18800,
- timestampMs: 18700,
- confidence: 0.998083,
- },
- {
- text: ' the',
- startMs: 18800,
- endMs: 18990,
- timestampMs: 18880,
- confidence: 0.99942,
- },
- {
- text: ' start.',
- startMs: 18990,
- endMs: 19560,
- timestampMs: 19260,
- confidence: 0.995592,
- },
- {
- text: ' After',
- startMs: 19560,
- endMs: 19870,
- timestampMs: 19880,
- confidence: 0.999306,
- },
- {
- text: ' a',
- startMs: 19870,
- endMs: 19930,
- timestampMs: 20120,
- confidence: 0.99459,
- },
- {
- text: ' viral',
- startMs: 19930,
- endMs: 20240,
- timestampMs: 20380,
- confidence: 0.996575,
- },
- {
- text: ' launch',
- startMs: 20240,
- endMs: 20610,
- timestampMs: 20700,
- confidence: 0.997067,
- },
- {
- text: ' in',
- startMs: 20610,
- endMs: 20730,
- timestampMs: 20880,
- confidence: 0.996854,
- },
- {
- text: ' 2021,',
- startMs: 20730,
- endMs: 21640,
- timestampMs: 21520,
- confidence: 0.963512,
- },
- {
- text: ' it',
- startMs: 21640,
- endMs: 21770,
- timestampMs: 21780,
- confidence: 0.521922,
- },
- {
- text: ' took',
- startMs: 21770,
- endMs: 21980,
- timestampMs: 21900,
- confidence: 0.999512,
- },
- {
- text: ' us',
- startMs: 21980,
- endMs: 22180,
- timestampMs: 22120,
- confidence: 0.997299,
- },
- {
- text: ' four',
- startMs: 22180,
- endMs: 22320,
- timestampMs: 22360,
- confidence: 0.983967,
- },
- {
- text: ' months',
- startMs: 22320,
- endMs: 22680,
- timestampMs: 22600,
- confidence: 0.998677,
- },
- {
- text: ' to',
- startMs: 22680,
- endMs: 22850,
- timestampMs: 22840,
- confidence: 0.999878,
- },
- {
- text: ' find',
- startMs: 22850,
- endMs: 23120,
- timestampMs: 23000,
- confidence: 0.984583,
- },
- {
- text: ' the',
- startMs: 23120,
- endMs: 23260,
- timestampMs: 23240,
- confidence: 0.995828,
- },
- {
- text: ' first',
- startMs: 23260,
- endMs: 23620,
- timestampMs: 23520,
- confidence: 0.999192,
- },
- {
- text: ' customer',
- startMs: 23620,
- endMs: 24150,
- timestampMs: 23980,
- confidence: 0.997919,
- },
- {
- text: ' for,',
- startMs: 24150,
- endMs: 24840,
- timestampMs: 24420,
- confidence: 0.957788,
- },
- {
- text: ' I',
- startMs: 24840,
- endMs: 24920,
- timestampMs: 25000,
- confidence: 0.999638,
- },
- {
- text: ' kid',
- startMs: 24920,
- endMs: 25170,
- timestampMs: 25200,
- confidence: 0.99682,
- },
- {
- text: ' you',
- startMs: 25170,
- endMs: 25420,
- timestampMs: 25360,
- confidence: 0.997577,
- },
- {
- text: ' not,',
- startMs: 25420,
- endMs: 25920,
- timestampMs: 25640,
- confidence: 0.978566,
- },
- {
- text: ' $15',
- startMs: 25920,
- endMs: 26450,
- timestampMs: 26240,
- confidence: 0.982326,
- },
- {
- text: ' per',
- startMs: 26450,
- endMs: 26700,
- timestampMs: 26800,
- confidence: 0.989987,
- },
- {
- text: ' month.',
- startMs: 26700,
- endMs: 27440,
- timestampMs: 27120,
- confidence: 0.993347,
- },
- {
- text: ' That',
- startMs: 27440,
- endMs: 27640,
- timestampMs: 27620,
- confidence: 0.993669,
- },
- {
- text: ' is',
- startMs: 27640,
- endMs: 27770,
- timestampMs: 27760,
- confidence: 0.998228,
- },
- {
- text: ' not',
- startMs: 27770,
- endMs: 27890,
- timestampMs: 27900,
- confidence: 0.998612,
- },
- {
- text: ' enough',
- startMs: 27890,
- endMs: 28190,
- timestampMs: 28100,
- confidence: 0.999611,
- },
- {
- text: ' to',
- startMs: 28190,
- endMs: 28290,
- timestampMs: 28260,
- confidence: 0.999241,
- },
- {
- text: ' make',
- startMs: 28290,
- endMs: 28490,
- timestampMs: 28400,
- confidence: 0.999603,
- },
- {
- text: ' a',
- startMs: 28490,
- endMs: 28540,
- timestampMs: 28580,
- confidence: 0.998658,
- },
- {
- text: ' living',
- startMs: 28540,
- endMs: 28860,
- timestampMs: 28800,
- confidence: 0.999924,
- },
- {
- text: ' in',
- startMs: 28860,
- endMs: 29000,
- timestampMs: 29000,
- confidence: 0.986327,
- },
- {
- text: ' Switzerland,',
- startMs: 29000,
- endMs: 29520,
- timestampMs: 29340,
- confidence: 0.713177,
- },
- {
- text: ' but',
- startMs: 29540,
- endMs: 29740,
- timestampMs: 29660,
- confidence: 0.999626,
- },
- {
- text: " didn't",
- startMs: 29740,
- endMs: 30000,
- timestampMs: 29900,
- confidence: 0.848825,
- },
- {
- text: ' stop',
- startMs: 30000,
- endMs: 30170,
- timestampMs: 30140,
- confidence: 0.996816,
- },
- {
- text: ' us',
- startMs: 30170,
- endMs: 30350,
- timestampMs: 30320,
- confidence: 0.999157,
- },
- {
- text: ' from',
- startMs: 30350,
- endMs: 30470,
- timestampMs: 30500,
- confidence: 0.993252,
- },
- {
- text: ' spending',
- startMs: 30470,
- endMs: 30880,
- timestampMs: 30820,
- confidence: 0.997834,
- },
- {
- text: ' the',
- startMs: 30880,
- endMs: 31050,
- timestampMs: 31060,
- confidence: 0.919181,
- },
- {
- text: ' next',
- startMs: 31050,
- endMs: 31340,
- timestampMs: 31280,
- confidence: 0.999028,
- },
- {
- text: ' four',
- startMs: 31340,
- endMs: 31510,
- timestampMs: 31520,
- confidence: 0.992447,
- },
- {
- text: ' years',
- startMs: 31510,
- endMs: 31820,
- timestampMs: 31800,
- confidence: 0.997343,
- },
- {
- text: ' continuing',
- startMs: 31820,
- endMs: 32370,
- timestampMs: 32320,
- confidence: 0.999619,
- },
- {
- text: ' and',
- startMs: 32370,
- endMs: 32530,
- timestampMs: 32600,
- confidence: 0.995163,
- },
- {
- text: ' making',
- startMs: 32530,
- endMs: 32860,
- timestampMs: 32840,
- confidence: 0.999573,
- },
- {
- text: ' every',
- startMs: 32860,
- endMs: 33190,
- timestampMs: 33160,
- confidence: 0.998772,
- },
- {
- text: ' possible',
- startMs: 33190,
- endMs: 33570,
- timestampMs: 33500,
- confidence: 0.999741,
- },
- {
- text: ' mistake',
- startMs: 33570,
- endMs: 34000,
- timestampMs: 33900,
- confidence: 0.998418,
- },
- {
- text: ' along',
- startMs: 34000,
- endMs: 34390,
- timestampMs: 34180,
- confidence: 0.914915,
- },
- {
- text: ' the',
- startMs: 34390,
- endMs: 34820,
- timestampMs: 34360,
- confidence: 0.998963,
- },
- {
- text: ' way,',
- startMs: 34820,
- endMs: 34880,
- timestampMs: 34820,
- confidence: 0.899858,
- },
- {
- text: ' but',
- startMs: 34880,
- endMs: 35040,
- timestampMs: 35040,
- confidence: 0.999474,
- },
- {
- text: ' also',
- startMs: 35040,
- endMs: 35270,
- timestampMs: 35320,
- confidence: 0.996706,
- },
- {
- text: ' really',
- startMs: 35270,
- endMs: 35570,
- timestampMs: 35600,
- confidence: 0.983449,
- },
- {
- text: ' having',
- startMs: 35570,
- endMs: 35920,
- timestampMs: 35840,
- confidence: 0.998635,
- },
- {
- text: ' the',
- startMs: 35920,
- endMs: 36120,
- timestampMs: 36120,
- confidence: 0.984587,
- },
- {
- text: ' best',
- startMs: 36120,
- endMs: 36380,
- timestampMs: 36340,
- confidence: 0.999703,
- },
- {
- text: ' time',
- startMs: 36380,
- endMs: 36660,
- timestampMs: 36600,
- confidence: 0.996576,
- },
- {
- text: ' figuring',
- startMs: 36660,
- endMs: 37350,
- timestampMs: 36980,
- confidence: 0.999584,
- },
- {
- text: ' out',
- startMs: 37350,
- endMs: 37500,
- timestampMs: 37280,
- confidence: 0.998982,
- },
- {
- text: ' who',
- startMs: 37500,
- endMs: 37720,
- timestampMs: 37440,
- confidence: 0.999325,
- },
- {
- text: ' we',
- startMs: 37720,
- endMs: 38060,
- timestampMs: 37620,
- confidence: 0.999577,
- },
- {
- text: ' are.',
- startMs: 38060,
- endMs: 38120,
- timestampMs: 38060,
- confidence: 0.349426,
- },
- {
- text: ' Until',
- startMs: 38120,
- endMs: 38510,
- timestampMs: 38400,
- confidence: 0.998449,
- },
- {
- text: ' finally,',
- startMs: 38510,
- endMs: 39210,
- timestampMs: 38860,
- confidence: 0.735326,
- },
- {
- text: ' we',
- startMs: 39210,
- endMs: 39360,
- timestampMs: 39320,
- confidence: 0.996227,
- },
- {
- text: ' became',
- startMs: 39360,
- endMs: 39830,
- timestampMs: 39660,
- confidence: 0.993851,
- },
- {
- text: ' profitable',
- startMs: 39830,
- endMs: 40620,
- timestampMs: 40160,
- confidence: 0.99963,
- },
- {
- text: ' in',
- startMs: 40620,
- endMs: 40770,
- timestampMs: 40480,
- confidence: 0.999077,
- },
- {
- text: ' 2025.',
- startMs: 40770,
- endMs: 41760,
- timestampMs: 41260,
- confidence: 0.62037,
- },
- {
- text: ' Which',
- startMs: 41760,
- endMs: 42070,
- timestampMs: 41940,
- confidence: 0.993191,
- },
- {
- text: ' leads',
- startMs: 42070,
- endMs: 42450,
- timestampMs: 42200,
- confidence: 0.999001,
- },
- {
- text: ' us',
- startMs: 42450,
- endMs: 42500,
- timestampMs: 42380,
- confidence: 0.997889,
- },
- {
- text: ' to',
- startMs: 42500,
- endMs: 42620,
- timestampMs: 42540,
- confidence: 0.998868,
- },
- {
- text: ' today,',
- startMs: 42620,
- endMs: 43010,
- timestampMs: 42880,
- confidence: 0.542888,
- },
- {
- text: ' where',
- startMs: 43010,
- endMs: 43200,
- timestampMs: 43120,
- confidence: 0.715989,
- },
- {
- text: ' we',
- startMs: 43200,
- endMs: 43270,
- timestampMs: 43260,
- confidence: 0.997642,
- },
- {
- text: ' have',
- startMs: 43270,
- endMs: 43440,
- timestampMs: 43400,
- confidence: 0.99862,
- },
- {
- text: ' an',
- startMs: 43440,
- endMs: 43550,
- timestampMs: 43560,
- confidence: 0.964369,
- },
- {
- text: ' office',
- startMs: 43550,
- endMs: 43880,
- timestampMs: 43780,
- confidence: 0.999535,
- },
- {
- text: ' in',
- startMs: 43880,
- endMs: 44000,
- timestampMs: 44020,
- confidence: 0.998159,
- },
- {
- text: ' this',
- startMs: 44000,
- endMs: 44210,
- timestampMs: 44180,
- confidence: 0.996778,
- },
- {
- text: ' tower',
- startMs: 44210,
- endMs: 44490,
- timestampMs: 44420,
- confidence: 0.977051,
- },
- {
- text: ' in',
- startMs: 44490,
- endMs: 44680,
- timestampMs: 44660,
- confidence: 0.989659,
- },
- {
- text: ' Zurich',
- startMs: 44680,
- endMs: 44960,
- timestampMs: 44860,
- confidence: 0.998786,
- },
- {
- text: ' and',
- startMs: 44960,
- endMs: 45150,
- timestampMs: 45100,
- confidence: 0.409552,
- },
- {
- text: ' over',
- startMs: 45150,
- endMs: 45450,
- timestampMs: 45360,
- confidence: 0.990694,
- },
- {
- text: ' 400',
- startMs: 45450,
- endMs: 45970,
- timestampMs: 45940,
- confidence: 0.99612,
- },
- {
- text: ' companies',
- startMs: 45970,
- endMs: 46560,
- timestampMs: 46480,
- confidence: 0.998342,
- },
- {
- text: ' pay',
- startMs: 46560,
- endMs: 46800,
- timestampMs: 46700,
- confidence: 0.996379,
- },
- {
- text: ' for',
- startMs: 46800,
- endMs: 47000,
- timestampMs: 46960,
- confidence: 0.99984,
- },
- {
- text: ' Remotion,',
- startMs: 47000,
- endMs: 47760,
- timestampMs: 47160,
- confidence: 0.954749,
- },
- {
- text: ' eliminating',
- startMs: 47760,
- endMs: 48500,
- timestampMs: 48140,
- confidence: 0.933346,
- },
- {
- text: ' any',
- startMs: 48500,
- endMs: 48700,
- timestampMs: 48720,
- confidence: 0.997935,
- },
- {
- text: ' doubt',
- startMs: 48700,
- endMs: 49040,
- timestampMs: 48960,
- confidence: 0.995133,
- },
- {
- text: ' about',
- startMs: 49040,
- endMs: 49380,
- timestampMs: 49280,
- confidence: 0.9678,
- },
- {
- text: ' our',
- startMs: 49380,
- endMs: 49670,
- timestampMs: 49600,
- confidence: 0.999237,
- },
- {
- text: ' future.',
- startMs: 49670,
- endMs: 50200,
- timestampMs: 49980,
- confidence: 0.98055,
- },
- {
- text: ' Still',
- startMs: 50200,
- endMs: 50520,
- timestampMs: 50440,
- confidence: 0.997957,
- },
- {
- text: " can't",
- startMs: 50520,
- endMs: 50700,
- timestampMs: 50620,
- confidence: 0.944386,
- },
- {
- text: ' believe',
- startMs: 50700,
- endMs: 51160,
- timestampMs: 50960,
- confidence: 0.999295,
- },
- {
- text: ' that',
- startMs: 51160,
- endMs: 51250,
- timestampMs: 51300,
- confidence: 0.990539,
- },
- {
- text: ' actually',
- startMs: 51250,
- endMs: 51650,
- timestampMs: 51700,
- confidence: 0.988987,
- },
- {
- text: ' worked.',
- startMs: 51650,
- endMs: 52120,
- timestampMs: 52000,
- confidence: 0.80905,
- },
- {
- text: ' So',
- startMs: 52120,
- endMs: 52240,
- timestampMs: 52320,
- confidence: 0.999176,
- },
- {
- text: " it's",
- startMs: 52240,
- endMs: 52520,
- timestampMs: 52500,
- confidence: 0.831385,
- },
- {
- text: ' as',
- startMs: 52520,
- endMs: 52600,
- timestampMs: 52700,
- confidence: 0.978827,
- },
- {
- text: ' simple',
- startMs: 52600,
- endMs: 52980,
- timestampMs: 52960,
- confidence: 0.999817,
- },
- {
- text: ' as',
- startMs: 52980,
- endMs: 53200,
- timestampMs: 53160,
- confidence: 0.999131,
- },
- {
- text: ' that.',
- startMs: 53200,
- endMs: 53600,
- timestampMs: 53460,
- confidence: 0.933953,
- },
- {
- text: ' We',
- startMs: 53600,
- endMs: 53740,
- timestampMs: 53780,
- confidence: 0.999317,
- },
- {
- text: ' get',
- startMs: 53740,
- endMs: 54030,
- timestampMs: 54000,
- confidence: 0.98824,
- },
- {
- text: ' money',
- startMs: 54030,
- endMs: 54310,
- timestampMs: 54220,
- confidence: 0.999192,
- },
- {
- text: ' from',
- startMs: 54310,
- endMs: 54600,
- timestampMs: 54460,
- confidence: 0.99971,
- },
- {
- text: ' companies,',
- startMs: 54600,
- endMs: 55280,
- timestampMs: 55000,
- confidence: 0.936601,
- },
- {
- text: ' but',
- startMs: 55280,
- endMs: 55540,
- timestampMs: 55440,
- confidence: 0.999737,
- },
- {
- text: ' for',
- startMs: 55540,
- endMs: 55760,
- timestampMs: 55680,
- confidence: 0.995524,
- },
- {
- text: ' the',
- startMs: 55760,
- endMs: 56090,
- timestampMs: 55840,
- confidence: 0.999367,
- },
- {
- text: ' vast',
- startMs: 56090,
- endMs: 56310,
- timestampMs: 56060,
- confidence: 0.99843,
- },
- {
- text: ' majority',
- startMs: 56310,
- endMs: 56940,
- timestampMs: 56500,
- confidence: 0.997919,
- },
- {
- text: ' of',
- startMs: 56940,
- endMs: 57040,
- timestampMs: 56800,
- confidence: 0.99931,
- },
- {
- text: ' you,',
- startMs: 57040,
- endMs: 57360,
- timestampMs: 57040,
- confidence: 0.969215,
- },
- {
- text: " it's",
- startMs: 57360,
- endMs: 57620,
- timestampMs: 57540,
- confidence: 0.750421,
- },
- {
- text: ' one',
- startMs: 57620,
- endMs: 57820,
- timestampMs: 57880,
- confidence: 0.999401,
- },
- {
- text: ' of',
- startMs: 57820,
- endMs: 58050,
- timestampMs: 58020,
- confidence: 0.999485,
- },
- {
- text: ' those',
- startMs: 58050,
- endMs: 58350,
- timestampMs: 58300,
- confidence: 0.991128,
- },
- {
- text: ' best',
- startMs: 58350,
- endMs: 58580,
- timestampMs: 58520,
- confidence: 0.997029,
- },
- {
- text: ' things',
- startMs: 58580,
- endMs: 58930,
- timestampMs: 58760,
- confidence: 0.999112,
- },
- {
- text: ' in',
- startMs: 58930,
- endMs: 59060,
- timestampMs: 58960,
- confidence: 0.994351,
- },
- {
- text: ' life',
- startMs: 59060,
- endMs: 59360,
- timestampMs: 59200,
- confidence: 0.999455,
- },
- ]}
- captionsSrc={null}
- voiceoverSrc={null}
- />
- </Sequence>
+ captions={[
+ {
+ text: 'How',
+ startMs: 30,
+ endMs: 190,
+ timestampMs: 180,
+ confidence: 0.880476,
+ },
+ {
+ text: ' is',
+ startMs: 190,
+ endMs: 360,
+ timestampMs: 380,
+ confidence: 0.988433,
+ },
+ {
+ text: ' it',
+ startMs: 360,
+ endMs: 430,
+ timestampMs: 520,
+ confidence: 0.996489,
+ },
+ {
+ text: ' possible',
+ startMs: 430,
+ endMs: 940,
+ timestampMs: 900,
+ confidence: 0.999329,
+ },
+ {
+ text: ' that',
+ startMs: 940,
+ endMs: 1190,
+ timestampMs: 1220,
+ confidence: 0.986024,
+ },
+ {
+ text: ' Remotion',
+ startMs: 1190,
+ endMs: 1700,
+ timestampMs: 1400,
+ confidence: 0.452537,
+ },
+ {
+ text: ' is',
+ startMs: 1700,
+ endMs: 1810,
+ timestampMs: 1840,
+ confidence: 0.9972,
+ },
+ {
+ text: ' free?',
+ startMs: 1810,
+ endMs: 2320,
+ timestampMs: 2100,
+ confidence: 0.946539,
+ },
+ {
+ text: ' Will',
+ startMs: 2320,
+ endMs: 2560,
+ timestampMs: 2460,
+ confidence: 0.99412,
+ },
+ {
+ text: ' there',
+ startMs: 2560,
+ endMs: 2860,
+ timestampMs: 2600,
+ confidence: 0.993002,
+ },
+ {
+ text: ' be',
+ startMs: 2860,
+ endMs: 2980,
+ timestampMs: 2840,
+ confidence: 0.986816,
+ },
+ {
+ text: ' ads,',
+ startMs: 2980,
+ endMs: 3310,
+ timestampMs: 3120,
+ confidence: 0.7704,
+ },
+ {
+ text: ' a',
+ startMs: 3310,
+ endMs: 3370,
+ timestampMs: 3540,
+ confidence: 0.975348,
+ },
+ {
+ text: ' premium',
+ startMs: 3370,
+ endMs: 3920,
+ timestampMs: 3760,
+ confidence: 0.984281,
+ },
+ {
+ text: ' version,',
+ startMs: 3920,
+ endMs: 4480,
+ timestampMs: 4180,
+ confidence: 0.581978,
+ },
+ {
+ text: ' or',
+ startMs: 4480,
+ endMs: 4590,
+ timestampMs: 4620,
+ confidence: 0.998814,
+ },
+ {
+ text: ' are',
+ startMs: 4590,
+ endMs: 4760,
+ timestampMs: 4860,
+ confidence: 0.998144,
+ },
+ {
+ text: ' we',
+ startMs: 4760,
+ endMs: 4870,
+ timestampMs: 5000,
+ confidence: 0.996786,
+ },
+ {
+ text: ' steering',
+ startMs: 4870,
+ endMs: 5350,
+ timestampMs: 5240,
+ confidence: 0.980984,
+ },
+ {
+ text: ' towards',
+ startMs: 5350,
+ endMs: 5730,
+ timestampMs: 5560,
+ confidence: 0.992877,
+ },
+ {
+ text: ' an',
+ startMs: 5730,
+ endMs: 5840,
+ timestampMs: 5780,
+ confidence: 0.994514,
+ },
+ {
+ text: ' unruly',
+ startMs: 5840,
+ endMs: 6180,
+ timestampMs: 5980,
+ confidence: 0.993566,
+ },
+ {
+ text: ' outcome?',
+ startMs: 6180,
+ endMs: 6800,
+ timestampMs: 6580,
+ confidence: 0.986248,
+ },
+ {
+ text: ' Well,',
+ startMs: 6800,
+ endMs: 7120,
+ timestampMs: 6980,
+ confidence: 0.76367,
+ },
+ {
+ text: ' actually,',
+ startMs: 7120,
+ endMs: 7680,
+ timestampMs: 7440,
+ confidence: 0.774864,
+ },
+ {
+ text: ' Remotion',
+ startMs: 7680,
+ endMs: 8220,
+ timestampMs: 8000,
+ confidence: 0.900556,
+ },
+ {
+ text: ' is',
+ startMs: 8220,
+ endMs: 8380,
+ timestampMs: 8420,
+ confidence: 0.998753,
+ },
+ {
+ text: ' not',
+ startMs: 8380,
+ endMs: 8550,
+ timestampMs: 8620,
+ confidence: 0.998738,
+ },
+ {
+ text: ' always',
+ startMs: 8550,
+ endMs: 8960,
+ timestampMs: 9000,
+ confidence: 0.9996,
+ },
+ {
+ text: ' free.',
+ startMs: 8960,
+ endMs: 9480,
+ timestampMs: 9340,
+ confidence: 0.985237,
+ },
+ {
+ text: ' If',
+ startMs: 9480,
+ endMs: 9640,
+ timestampMs: 9620,
+ confidence: 0.997014,
+ },
+ {
+ text: ' you',
+ startMs: 9640,
+ endMs: 9810,
+ timestampMs: 9760,
+ confidence: 0.999436,
+ },
+ {
+ text: ' work',
+ startMs: 9810,
+ endMs: 10070,
+ timestampMs: 9980,
+ confidence: 0.996957,
+ },
+ {
+ text: ' at',
+ startMs: 10070,
+ endMs: 10200,
+ timestampMs: 10160,
+ confidence: 0.99571,
+ },
+ {
+ text: ' a',
+ startMs: 10200,
+ endMs: 10260,
+ timestampMs: 10340,
+ confidence: 0.991242,
+ },
+ {
+ text: ' company',
+ startMs: 10260,
+ endMs: 10760,
+ timestampMs: 10680,
+ confidence: 0.999542,
+ },
+ {
+ text: ' where',
+ startMs: 10760,
+ endMs: 10920,
+ timestampMs: 10900,
+ confidence: 0.475685,
+ },
+ {
+ text: ' at',
+ startMs: 10920,
+ endMs: 11040,
+ timestampMs: 11080,
+ confidence: 0.86534,
+ },
+ {
+ text: ' least',
+ startMs: 11040,
+ endMs: 11440,
+ timestampMs: 11240,
+ confidence: 0.998388,
+ },
+ {
+ text: ' three',
+ startMs: 11440,
+ endMs: 11600,
+ timestampMs: 11560,
+ confidence: 0.539614,
+ },
+ {
+ text: ' other',
+ startMs: 11600,
+ endMs: 11900,
+ timestampMs: 11820,
+ confidence: 0.773454,
+ },
+ {
+ text: ' people',
+ startMs: 11900,
+ endMs: 12180,
+ timestampMs: 12100,
+ confidence: 0.871072,
+ },
+ {
+ text: ' work,',
+ startMs: 12180,
+ endMs: 12580,
+ timestampMs: 12420,
+ confidence: 0.90639,
+ },
+ {
+ text: ' you',
+ startMs: 12580,
+ endMs: 12780,
+ timestampMs: 12700,
+ confidence: 0.996333,
+ },
+ {
+ text: ' need',
+ startMs: 12780,
+ endMs: 13070,
+ timestampMs: 12880,
+ confidence: 0.988704,
+ },
+ {
+ text: ' a',
+ startMs: 13070,
+ endMs: 13120,
+ timestampMs: 13140,
+ confidence: 0.996675,
+ },
+ {
+ text: ' company',
+ startMs: 13120,
+ endMs: 13600,
+ timestampMs: 13440,
+ confidence: 0.99843,
+ },
+ {
+ text: ' license',
+ startMs: 13600,
+ endMs: 14080,
+ timestampMs: 13800,
+ confidence: 0.985306,
+ },
+ {
+ text: ' to',
+ startMs: 14080,
+ endMs: 14210,
+ timestampMs: 14120,
+ confidence: 0.995232,
+ },
+ {
+ text: ' use',
+ startMs: 14210,
+ endMs: 14410,
+ timestampMs: 14320,
+ confidence: 0.999192,
+ },
+ {
+ text: ' Remotion.',
+ startMs: 14410,
+ endMs: 15240,
+ timestampMs: 14620,
+ confidence: 0.918254,
+ },
+ {
+ text: ' Since',
+ startMs: 15240,
+ endMs: 15570,
+ timestampMs: 15520,
+ confidence: 0.999039,
+ },
+ {
+ text: ' day',
+ startMs: 15570,
+ endMs: 15720,
+ timestampMs: 15700,
+ confidence: 0.972233,
+ },
+ {
+ text: ' one,',
+ startMs: 15720,
+ endMs: 16020,
+ timestampMs: 15920,
+ confidence: 0.916864,
+ },
+ {
+ text: ' this',
+ startMs: 16020,
+ endMs: 16260,
+ timestampMs: 16120,
+ confidence: 0.993085,
+ },
+ {
+ text: ' is',
+ startMs: 16260,
+ endMs: 16380,
+ timestampMs: 16240,
+ confidence: 0.99768,
+ },
+ {
+ text: ' our',
+ startMs: 16380,
+ endMs: 16580,
+ timestampMs: 16520,
+ confidence: 0.999253,
+ },
+ {
+ text: ' business',
+ startMs: 16580,
+ endMs: 17040,
+ timestampMs: 16840,
+ confidence: 0.999207,
+ },
+ {
+ text: ' model,',
+ startMs: 17040,
+ endMs: 17360,
+ timestampMs: 17240,
+ confidence: 0.835903,
+ },
+ {
+ text: ' but',
+ startMs: 17360,
+ endMs: 17550,
+ timestampMs: 17500,
+ confidence: 0.99971,
+ },
+ {
+ text: ' it',
+ startMs: 17550,
+ endMs: 17670,
+ timestampMs: 17640,
+ confidence: 0.999363,
+ },
+ {
+ text: " wasn't",
+ startMs: 17670,
+ endMs: 18040,
+ timestampMs: 17880,
+ confidence: 0.999085,
+ },
+ {
+ text: ' a',
+ startMs: 18040,
+ endMs: 18120,
+ timestampMs: 18100,
+ confidence: 0.998662,
+ },
+ {
+ text: ' success',
+ startMs: 18120,
+ endMs: 18570,
+ timestampMs: 18440,
+ confidence: 0.999622,
+ },
+ {
+ text: ' from',
+ startMs: 18570,
+ endMs: 18800,
+ timestampMs: 18700,
+ confidence: 0.998083,
+ },
+ {
+ text: ' the',
+ startMs: 18800,
+ endMs: 18990,
+ timestampMs: 18880,
+ confidence: 0.99942,
+ },
+ {
+ text: ' start.',
+ startMs: 18990,
+ endMs: 19560,
+ timestampMs: 19260,
+ confidence: 0.995592,
+ },
+ {
+ text: ' After',
+ startMs: 19560,
+ endMs: 19870,
+ timestampMs: 19880,
+ confidence: 0.999306,
+ },
+ {
+ text: ' a',
+ startMs: 19870,
+ endMs: 19930,
+ timestampMs: 20120,
+ confidence: 0.99459,
+ },
+ {
+ text: ' viral',
+ startMs: 19930,
+ endMs: 20240,
+ timestampMs: 20380,
+ confidence: 0.996575,
+ },
+ {
+ text: ' launch',
+ startMs: 20240,
+ endMs: 20610,
+ timestampMs: 20700,
+ confidence: 0.997067,
+ },
+ {
+ text: ' in',
+ startMs: 20610,
+ endMs: 20730,
+ timestampMs: 20880,
+ confidence: 0.996854,
+ },
+ {
+ text: ' 2021,',
+ startMs: 20730,
+ endMs: 21640,
+ timestampMs: 21520,
+ confidence: 0.963512,
+ },
+ {
+ text: ' it',
+ startMs: 21640,
+ endMs: 21770,
+ timestampMs: 21780,
+ confidence: 0.521922,
+ },
+ {
+ text: ' took',
+ startMs: 21770,
+ endMs: 21980,
+ timestampMs: 21900,
+ confidence: 0.999512,
+ },
+ {
+ text: ' us',
+ startMs: 21980,
+ endMs: 22180,
+ timestampMs: 22120,
+ confidence: 0.997299,
+ },
+ {
+ text: ' four',
+ startMs: 22180,
+ endMs: 22320,
+ timestampMs: 22360,
+ confidence: 0.983967,
+ },
+ {
+ text: ' months',
+ startMs: 22320,
+ endMs: 22680,
+ timestampMs: 22600,
+ confidence: 0.998677,
+ },
+ {
+ text: ' to',
+ startMs: 22680,
+ endMs: 22850,
+ timestampMs: 22840,
+ confidence: 0.999878,
+ },
+ {
+ text: ' find',
+ startMs: 22850,
+ endMs: 23120,
+ timestampMs: 23000,
+ confidence: 0.984583,
+ },
+ {
+ text: ' the',
+ startMs: 23120,
+ endMs: 23260,
+ timestampMs: 23240,
+ confidence: 0.995828,
+ },
+ {
+ text: ' first',
+ startMs: 23260,
+ endMs: 23620,
+ timestampMs: 23520,
+ confidence: 0.999192,
+ },
+ {
+ text: ' customer',
+ startMs: 23620,
+ endMs: 24150,
+ timestampMs: 23980,
+ confidence: 0.997919,
+ },
+ {
+ text: ' for,',
+ startMs: 24150,
+ endMs: 24840,
+ timestampMs: 24420,
+ confidence: 0.957788,
+ },
+ {
+ text: ' I',
+ startMs: 24840,
+ endMs: 24920,
+ timestampMs: 25000,
+ confidence: 0.999638,
+ },
+ {
+ text: ' kid',
+ startMs: 24920,
+ endMs: 25170,
+ timestampMs: 25200,
+ confidence: 0.99682,
+ },
+ {
+ text: ' you',
+ startMs: 25170,
+ endMs: 25420,
+ timestampMs: 25360,
+ confidence: 0.997577,
+ },
+ {
+ text: ' not,',
+ startMs: 25420,
+ endMs: 25920,
+ timestampMs: 25640,
+ confidence: 0.978566,
+ },
+ {
+ text: ' $15',
+ startMs: 25920,
+ endMs: 26450,
+ timestampMs: 26240,
+ confidence: 0.982326,
+ },
+ {
+ text: ' per',
+ startMs: 26450,
+ endMs: 26700,
+ timestampMs: 26800,
+ confidence: 0.989987,
+ },
+ {
+ text: ' month.',
+ startMs: 26700,
+ endMs: 27440,
+ timestampMs: 27120,
+ confidence: 0.993347,
+ },
+ {
+ text: ' That',
+ startMs: 27440,
+ endMs: 27640,
+ timestampMs: 27620,
+ confidence: 0.993669,
+ },
+ {
+ text: ' is',
+ startMs: 27640,
+ endMs: 27770,
+ timestampMs: 27760,
+ confidence: 0.998228,
+ },
+ {
+ text: ' not',
+ startMs: 27770,
+ endMs: 27890,
+ timestampMs: 27900,
+ confidence: 0.998612,
+ },
+ {
+ text: ' enough',
+ startMs: 27890,
+ endMs: 28190,
+ timestampMs: 28100,
+ confidence: 0.999611,
+ },
+ {
+ text: ' to',
+ startMs: 28190,
+ endMs: 28290,
+ timestampMs: 28260,
+ confidence: 0.999241,
+ },
+ {
+ text: ' make',
+ startMs: 28290,
+ endMs: 28490,
+ timestampMs: 28400,
+ confidence: 0.999603,
+ },
+ {
+ text: ' a',
+ startMs: 28490,
+ endMs: 28540,
+ timestampMs: 28580,
+ confidence: 0.998658,
+ },
+ {
+ text: ' living',
+ startMs: 28540,
+ endMs: 28860,
+ timestampMs: 28800,
+ confidence: 0.999924,
+ },
+ {
+ text: ' in',
+ startMs: 28860,
+ endMs: 29000,
+ timestampMs: 29000,
+ confidence: 0.986327,
+ },
+ {
+ text: ' Switzerland,',
+ startMs: 29000,
+ endMs: 29520,
+ timestampMs: 29340,
+ confidence: 0.713177,
+ },
+ {
+ text: ' but',
+ startMs: 29540,
+ endMs: 29740,
+ timestampMs: 29660,
+ confidence: 0.999626,
+ },
+ {
+ text: " didn't",
+ startMs: 29740,
+ endMs: 30000,
+ timestampMs: 29900,
+ confidence: 0.848825,
+ },
+ {
+ text: ' stop',
+ startMs: 30000,
+ endMs: 30170,
+ timestampMs: 30140,
+ confidence: 0.996816,
+ },
+ {
+ text: ' us',
+ startMs: 30170,
+ endMs: 30350,
+ timestampMs: 30320,
+ confidence: 0.999157,
+ },
+ {
+ text: ' from',
+ startMs: 30350,
+ endMs: 30470,
+ timestampMs: 30500,
+ confidence: 0.993252,
+ },
+ {
+ text: ' spending',
+ startMs: 30470,
+ endMs: 30880,
+ timestampMs: 30820,
+ confidence: 0.997834,
+ },
+ {
+ text: ' the',
+ startMs: 30880,
+ endMs: 31050,
+ timestampMs: 31060,
+ confidence: 0.919181,
+ },
+ {
+ text: ' next',
+ startMs: 31050,
+ endMs: 31340,
+ timestampMs: 31280,
+ confidence: 0.999028,
+ },
+ {
+ text: ' four',
+ startMs: 31340,
+ endMs: 31510,
+ timestampMs: 31520,
+ confidence: 0.992447,
+ },
+ {
+ text: ' years',
+ startMs: 31510,
+ endMs: 31820,
+ timestampMs: 31800,
+ confidence: 0.997343,
+ },
+ {
+ text: ' continuing',
+ startMs: 31820,
+ endMs: 32370,
+ timestampMs: 32320,
+ confidence: 0.999619,
+ },
+ {
+ text: ' and',
+ startMs: 32370,
+ endMs: 32530,
+ timestampMs: 32600,
+ confidence: 0.995163,
+ },
+ {
+ text: ' making',
+ startMs: 32530,
+ endMs: 32860,
+ timestampMs: 32840,
+ confidence: 0.999573,
+ },
+ {
+ text: ' every',
+ startMs: 32860,
+ endMs: 33190,
+ timestampMs: 33160,
+ confidence: 0.998772,
+ },
+ {
+ text: ' possible',
+ startMs: 33190,
+ endMs: 33570,
+ timestampMs: 33500,
+ confidence: 0.999741,
+ },
+ {
+ text: ' mistake',
+ startMs: 33570,
+ endMs: 34000,
+ timestampMs: 33900,
+ confidence: 0.998418,
+ },
+ {
+ text: ' along',
+ startMs: 34000,
+ endMs: 34390,
+ timestampMs: 34180,
+ confidence: 0.914915,
+ },
+ {
+ text: ' the',
+ startMs: 34390,
+ endMs: 34820,
+ timestampMs: 34360,
+ confidence: 0.998963,
+ },
+ {
+ text: ' way,',
+ startMs: 34820,
+ endMs: 34880,
+ timestampMs: 34820,
+ confidence: 0.899858,
+ },
+ {
+ text: ' but',
+ startMs: 34880,
+ endMs: 35040,
+ timestampMs: 35040,
+ confidence: 0.999474,
+ },
+ {
+ text: ' also',
+ startMs: 35040,
+ endMs: 35270,
+ timestampMs: 35320,
+ confidence: 0.996706,
+ },
+ {
+ text: ' really',
+ startMs: 35270,
+ endMs: 35570,
+ timestampMs: 35600,
+ confidence: 0.983449,
+ },
+ {
+ text: ' having',
+ startMs: 35570,
+ endMs: 35920,
+ timestampMs: 35840,
+ confidence: 0.998635,
+ },
+ {
+ text: ' the',
+ startMs: 35920,
+ endMs: 36120,
+ timestampMs: 36120,
+ confidence: 0.984587,
+ },
+ {
+ text: ' best',
+ startMs: 36120,
+ endMs: 36380,
+ timestampMs: 36340,
+ confidence: 0.999703,
+ },
+ {
+ text: ' time',
+ startMs: 36380,
+ endMs: 36660,
+ timestampMs: 36600,
+ confidence: 0.996576,
+ },
+ {
+ text: ' figuring',
+ startMs: 36660,
+ endMs: 37350,
+ timestampMs: 36980,
+ confidence: 0.999584,
+ },
+ {
+ text: ' out',
+ startMs: 37350,
+ endMs: 37500,
+ timestampMs: 37280,
+ confidence: 0.998982,
+ },
+ {
+ text: ' who',
+ startMs: 37500,
+ endMs: 37720,
+ timestampMs: 37440,
+ confidence: 0.999325,
+ },
+ {
+ text: ' we',
+ startMs: 37720,
+ endMs: 38060,
+ timestampMs: 37620,
+ confidence: 0.999577,
+ },
+ {
+ text: ' are.',
+ startMs: 38060,
+ endMs: 38120,
+ timestampMs: 38060,
+ confidence: 0.349426,
+ },
+ {
+ text: ' Until',
+ startMs: 38120,
+ endMs: 38510,
+ timestampMs: 38400,
+ confidence: 0.998449,
+ },
+ {
+ text: ' finally,',
+ startMs: 38510,
+ endMs: 39210,
+ timestampMs: 38860,
+ confidence: 0.735326,
+ },
+ {
+ text: ' we',
+ startMs: 39210,
+ endMs: 39360,
+ timestampMs: 39320,
+ confidence: 0.996227,
+ },
+ {
+ text: ' became',
+ startMs: 39360,
+ endMs: 39830,
+ timestampMs: 39660,
+ confidence: 0.993851,
+ },
+ {
+ text: ' profitable',
+ startMs: 39830,
+ endMs: 40620,
+ timestampMs: 40160,
+ confidence: 0.99963,
+ },
+ {
+ text: ' in',
+ startMs: 40620,
+ endMs: 40770,
+ timestampMs: 40480,
+ confidence: 0.999077,
+ },
+ {
+ text: ' 2025.',
+ startMs: 40770,
+ endMs: 41760,
+ timestampMs: 41260,
+ confidence: 0.62037,
+ },
+ {
+ text: ' Which',
+ startMs: 41760,
+ endMs: 42070,
+ timestampMs: 41940,
+ confidence: 0.993191,
+ },
+ {
+ text: ' leads',
+ startMs: 42070,
+ endMs: 42450,
+ timestampMs: 42200,
+ confidence: 0.999001,
+ },
+ {
+ text: ' us',
+ startMs: 42450,
+ endMs: 42500,
+ timestampMs: 42380,
+ confidence: 0.997889,
+ },
+ {
+ text: ' to',
+ startMs: 42500,
+ endMs: 42620,
+ timestampMs: 42540,
+ confidence: 0.998868,
+ },
+ {
+ text: ' today,',
+ startMs: 42620,
+ endMs: 43010,
+ timestampMs: 42880,
+ confidence: 0.542888,
+ },
+ {
+ text: ' where',
+ startMs: 43010,
+ endMs: 43200,
+ timestampMs: 43120,
+ confidence: 0.715989,
+ },
+ {
+ text: ' we',
+ startMs: 43200,
+ endMs: 43270,
+ timestampMs: 43260,
+ confidence: 0.997642,
+ },
+ {
+ text: ' have',
+ startMs: 43270,
+ endMs: 43440,
+ timestampMs: 43400,
+ confidence: 0.99862,
+ },
+ {
+ text: ' an',
+ startMs: 43440,
+ endMs: 43550,
+ timestampMs: 43560,
+ confidence: 0.964369,
+ },
+ {
+ text: ' office',
+ startMs: 43550,
+ endMs: 43880,
+ timestampMs: 43780,
+ confidence: 0.999535,
+ },
+ {
+ text: ' in',
+ startMs: 43880,
+ endMs: 44000,
+ timestampMs: 44020,
+ confidence: 0.998159,
+ },
+ {
+ text: ' this',
+ startMs: 44000,
+ endMs: 44210,
+ timestampMs: 44180,
+ confidence: 0.996778,
+ },
+ {
+ text: ' tower',
+ startMs: 44210,
+ endMs: 44490,
+ timestampMs: 44420,
+ confidence: 0.977051,
+ },
+ {
+ text: ' in',
+ startMs: 44490,
+ endMs: 44680,
+ timestampMs: 44660,
+ confidence: 0.989659,
+ },
+ {
+ text: ' Zurich',
+ startMs: 44680,
+ endMs: 44960,
+ timestampMs: 44860,
+ confidence: 0.998786,
+ },
+ {
+ text: ' and',
+ startMs: 44960,
+ endMs: 45150,
+ timestampMs: 45100,
+ confidence: 0.409552,
+ },
+ {
+ text: ' over',
+ startMs: 45150,
+ endMs: 45450,
+ timestampMs: 45360,
+ confidence: 0.990694,
+ },
+ {
+ text: ' 400',
+ startMs: 45450,
+ endMs: 45970,
+ timestampMs: 45940,
+ confidence: 0.99612,
+ },
+ {
+ text: ' companies',
+ startMs: 45970,
+ endMs: 46560,
+ timestampMs: 46480,
+ confidence: 0.998342,
+ },
+ {
+ text: ' pay',
+ startMs: 46560,
+ endMs: 46800,
+ timestampMs: 46700,
+ confidence: 0.996379,
+ },
+ {
+ text: ' for',
+ startMs: 46800,
+ endMs: 47000,
+ timestampMs: 46960,
+ confidence: 0.99984,
+ },
+ {
+ text: ' Remotion,',
+ startMs: 47000,
+ endMs: 47760,
+ timestampMs: 47160,
+ confidence: 0.954749,
+ },
+ {
+ text: ' eliminating',
+ startMs: 47760,
+ endMs: 48500,
+ timestampMs: 48140,
+ confidence: 0.933346,
+ },
+ {
+ text: ' any',
+ startMs: 48500,
+ endMs: 48700,
+ timestampMs: 48720,
+ confidence: 0.997935,
+ },
+ {
+ text: ' doubt',
+ startMs: 48700,
+ endMs: 49040,
+ timestampMs: 48960,
+ confidence: 0.995133,
+ },
+ {
+ text: ' about',
+ startMs: 49040,
+ endMs: 49380,
+ timestampMs: 49280,
+ confidence: 0.9678,
+ },
+ {
+ text: ' our',
+ startMs: 49380,
+ endMs: 49670,
+ timestampMs: 49600,
+ confidence: 0.999237,
+ },
+ {
+ text: ' future.',
+ startMs: 49670,
+ endMs: 50200,
+ timestampMs: 49980,
+ confidence: 0.98055,
+ },
+ {
+ text: ' Still',
+ startMs: 50200,
+ endMs: 50520,
+ timestampMs: 50440,
+ confidence: 0.997957,
+ },
+ {
+ text: " can't",
+ startMs: 50520,
+ endMs: 50700,
+ timestampMs: 50620,
+ confidence: 0.944386,
+ },
+ {
+ text: ' believe',
+ startMs: 50700,
+ endMs: 51160,
+ timestampMs: 50960,
+ confidence: 0.999295,
+ },
+ {
+ text: ' that',
+ startMs: 51160,
+ endMs: 51250,
+ timestampMs: 51300,
+ confidence: 0.990539,
+ },
+ {
+ text: ' actually',
+ startMs: 51250,
+ endMs: 51650,
+ timestampMs: 51700,
+ confidence: 0.988987,
+ },
+ {
+ text: ' worked.',
+ startMs: 51650,
+ endMs: 52120,
+ timestampMs: 52000,
+ confidence: 0.80905,
+ },
+ {
+ text: ' So',
+ startMs: 52120,
+ endMs: 52240,
+ timestampMs: 52320,
+ confidence: 0.999176,
+ },
+ {
+ text: " it's",
+ startMs: 52240,
+ endMs: 52520,
+ timestampMs: 52500,
+ confidence: 0.831385,
+ },
+ {
+ text: ' as',
+ startMs: 52520,
+ endMs: 52600,
+ timestampMs: 52700,
+ confidence: 0.978827,
+ },
+ {
+ text: ' simple',
+ startMs: 52600,
+ endMs: 52980,
+ timestampMs: 52960,
+ confidence: 0.999817,
+ },
+ {
+ text: ' as',
+ startMs: 52980,
+ endMs: 53200,
+ timestampMs: 53160,
+ confidence: 0.999131,
+ },
+ {
+ text: ' that.',
+ startMs: 53200,
+ endMs: 53600,
+ timestampMs: 53460,
+ confidence: 0.933953,
+ },
+ {
+ text: ' We',
+ startMs: 53600,
+ endMs: 53740,
+ timestampMs: 53780,
+ confidence: 0.999317,
+ },
+ {
+ text: ' get',
+ startMs: 53740,
+ endMs: 54030,
+ timestampMs: 54000,
+ confidence: 0.98824,
+ },
+ {
+ text: ' money',
+ startMs: 54030,
+ endMs: 54310,
+ timestampMs: 54220,
+ confidence: 0.999192,
+ },
+ {
+ text: ' from',
+ startMs: 54310,
+ endMs: 54600,
+ timestampMs: 54460,
+ confidence: 0.99971,
+ },
+ {
+ text: ' companies,',
+ startMs: 54600,
+ endMs: 55280,
+ timestampMs: 55000,
+ confidence: 0.936601,
+ },
+ {
+ text: ' but',
+ startMs: 55280,
+ endMs: 55540,
+ timestampMs: 55440,
+ confidence: 0.999737,
+ },
+ {
+ text: ' for',
+ startMs: 55540,
+ endMs: 55760,
+ timestampMs: 55680,
+ confidence: 0.995524,
+ },
+ {
+ text: ' the',
+ startMs: 55760,
+ endMs: 56090,
+ timestampMs: 55840,
+ confidence: 0.999367,
+ },
+ {
+ text: ' vast',
+ startMs: 56090,
+ endMs: 56310,
+ timestampMs: 56060,
+ confidence: 0.99843,
+ },
+ {
+ text: ' majority',
+ startMs: 56310,
+ endMs: 56940,
+ timestampMs: 56500,
+ confidence: 0.997919,
+ },
+ {
+ text: ' of',
+ startMs: 56940,
+ endMs: 57040,
+ timestampMs: 56800,
+ confidence: 0.99931,
+ },
+ {
+ text: ' you,',
+ startMs: 57040,
+ endMs: 57360,
+ timestampMs: 57040,
+ confidence: 0.969215,
+ },
+ {
+ text: " it's",
+ startMs: 57360,
+ endMs: 57620,
+ timestampMs: 57540,
+ confidence: 0.750421,
+ },
+ {
+ text: ' one',
+ startMs: 57620,
+ endMs: 57820,
+ timestampMs: 57880,
+ confidence: 0.999401,
+ },
+ {
+ text: ' of',
+ startMs: 57820,
+ endMs: 58050,
+ timestampMs: 58020,
+ confidence: 0.999485,
+ },
+ {
+ text: ' those',
+ startMs: 58050,
+ endMs: 58350,
+ timestampMs: 58300,
+ confidence: 0.991128,
+ },
+ {
+ text: ' best',
+ startMs: 58350,
+ endMs: 58580,
+ timestampMs: 58520,
+ confidence: 0.997029,
+ },
+ {
+ text: ' things',
+ startMs: 58580,
+ endMs: 58930,
+ timestampMs: 58760,
+ confidence: 0.999112,
+ },
+ {
+ text: ' in',
+ startMs: 58930,
+ endMs: 59060,
+ timestampMs: 58960,
+ confidence: 0.994351,
+ },
+ {
+ text: ' life',
+ startMs: 59060,
+ endMs: 59360,
+ timestampMs: 59200,
+ confidence: 0.999455,
+ },
+ ]}
+ captionsSrc={null}
+ voiceoverSrc={null}
+ />
</>
);
};
+
+export const HowCanRemotionBeFree = Interactive.withSchema({
+ Component: HowCanRemotionBeFreeInner,
+ componentName: '<HowCanRemotionBeFree>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/how-can-remotion-be-free/PremiumVersion.tsx b/packages/jonnys-videos/src/how-can-remotion-be-free/PremiumVersion.tsx
index 9c9d820a3f..7e23ff6236 100644
--- a/packages/jonnys-videos/src/how-can-remotion-be-free/PremiumVersion.tsx
+++ b/packages/jonnys-videos/src/how-can-remotion-be-free/PremiumVersion.tsx
@@ -137,9 +137,9 @@ const TierRow: React.FC<{index: number; label: string; rings: number}> = ({
);
};
-export const PremiumVersion: React.FC = () => {
+const PremiumVersionInner: React.FC = () => {
return (
- <AbsoluteFill style={{overflow: 'hidden'}}>
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
<div
style={{
display: 'flex',
@@ -162,3 +162,11 @@ export const PremiumVersion: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const PremiumVersion = Interactive.withSchema({
+ Component: PremiumVersionInner,
+ componentName: '<PremiumVersion>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/how-can-remotion-be-free/UnrulyOutcome.tsx b/packages/jonnys-videos/src/how-can-remotion-be-free/UnrulyOutcome.tsx
index 7085d9eff2..50c464a36b 100644
--- a/packages/jonnys-videos/src/how-can-remotion-be-free/UnrulyOutcome.tsx
+++ b/packages/jonnys-videos/src/how-can-remotion-be-free/UnrulyOutcome.tsx
@@ -90,9 +90,9 @@ const OutcomeRow: React.FC<{item: string; index: number}> = ({item, index}) => {
);
};
-export const UnrulyOutcome: React.FC = () => {
+const UnrulyOutcomeInner: React.FC = () => {
return (
- <AbsoluteFill style={{overflow: 'hidden'}}>
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
<div
style={{
display: 'flex',
@@ -111,3 +111,11 @@ export const UnrulyOutcome: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const UnrulyOutcome = Interactive.withSchema({
+ Component: UnrulyOutcomeInner,
+ componentName: '<UnrulyOutcome>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/how-can-remotion-be-free/ZurichPhoto.tsx b/packages/jonnys-videos/src/how-can-remotion-be-free/ZurichPhoto.tsx
index e0ecf9e67a..b17a5ac90c 100644
--- a/packages/jonnys-videos/src/how-can-remotion-be-free/ZurichPhoto.tsx
+++ b/packages/jonnys-videos/src/how-can-remotion-be-free/ZurichPhoto.tsx
@@ -11,11 +11,11 @@ import {asset} from './assets';
export const ZURICH_PHOTO_DURATION_IN_FRAMES = 48;
-export const ZurichPhoto: React.FC = () => {
+const ZurichPhotoInner: React.FC = () => {
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{overflow: 'hidden'}}>
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
<Interactive.Div
name="Zurich full-screen photograph"
style={{
@@ -97,3 +97,11 @@ export const ZurichPhoto: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const ZurichPhoto = Interactive.withSchema({
+ Component: ZurichPhotoInner,
+ componentName: '<ZurichPhoto>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx b/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx
index 2e5c54968e..9b136f1b60 100644
--- a/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx
@@ -3,7 +3,13 @@ import {linearTiming, TransitionSeries} from '@remotion/transitions';
import {fade} from '@remotion/transitions/fade';
import {pushCut} from '@remotion/transitions/push-cut';
import React from 'react';
-import {Track, interpolate, useCurrentFrame, useVideoConfig} from 'remotion';
+import {
+ Interactive,
+ Track,
+ interpolate,
+ useCurrentFrame,
+ useVideoConfig,
+} from 'remotion';
import {LightLeakOverlay} from './elements/LightLeakOverlay';
import {Arrival} from './scenes/Arrival';
import {BestCommute} from './scenes/BestCommute';
@@ -16,7 +22,7 @@ import {RideMontage} from './scenes/RideMontage';
import {TheDecline} from './scenes/TheDecline';
import {Uphill} from './scenes/Uphill';
-export const RollerSkiCommute: React.FC = () => {
+const RollerSkiCommuteInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
@@ -165,3 +171,11 @@ export const RollerSkiCommute: React.FC = () => {
</>
);
};
+
+export const RollerSkiCommute = Interactive.withSchema({
+ Component: RollerSkiCommuteInner,
+ componentName: '<RollerSkiCommute>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx
index f40d1a8153..dc36c63c1e 100644
--- a/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx
@@ -1,8 +1,14 @@
import {lightLeak} from '@remotion/effects/light-leak';
import React from 'react';
-import {interpolate, Solid, useCurrentFrame, useVideoConfig} from 'remotion';
+import {
+ Interactive,
+ interpolate,
+ Solid,
+ useCurrentFrame,
+ useVideoConfig,
+} from 'remotion';
-export const LightLeakOverlay: React.FC = () => {
+const LightLeakOverlayInner: React.FC = () => {
const frame = useCurrentFrame();
const {durationInFrames, fps, height, width} = useVideoConfig();
@@ -25,3 +31,11 @@ export const LightLeakOverlay: React.FC = () => {
/>
);
};
+
+export const LightLeakOverlay = Interactive.withSchema({
+ Component: LightLeakOverlayInner,
+ componentName: '<LightLeakOverlay>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsx b/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsx
index 13e2d1539b..98c486804c 100644
--- a/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/elements/TitleCard.tsx
@@ -6,12 +6,11 @@ import {
interpolate,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
type InteractivitySchema,
} from 'remotion';
import {fontFamily} from './font';
-type TitleCardProps = InteractiveTransformProps & {
+type TitleCardProps = {
readonly line1: string;
readonly line2: string;
readonly kicker: string;
@@ -23,18 +22,17 @@ const TitleCardInner: React.FC<TitleCardProps> = ({
line2,
kicker,
accentColor,
- style,
}) => {
const frame = useCurrentFrame();
const {durationInFrames} = useVideoConfig();
return (
<AbsoluteFill
+ showInTimeline={false}
style={{
justifyContent: 'center',
alignItems: 'center',
fontFamily,
- ...style,
}}
>
<AbsoluteFill
@@ -162,4 +160,5 @@ export const TitleCard = Interactive.withSchema({
componentName: '<TitleCard>',
schema: titleCardSchema,
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
index 73832edd57..cf4740c6ae 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
@@ -8,17 +8,16 @@ import {
Series,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
} from 'remotion';
import {LocationLowerThird} from '../elements/LocationLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
-const ArrivalInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const ArrivalInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Low angle"
@@ -256,4 +255,5 @@ export const Arrival = Interactive.withSchema({
componentName: '<Arrival>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
index af0fd2e519..f23d08e167 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
@@ -9,17 +9,16 @@ import {
Track,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
} from 'remotion';
import {AwardBadge} from '../elements/AwardBadge';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
-const BestCommuteInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const BestCommuteInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Tech bros"
@@ -517,4 +516,5 @@ export const BestCommute = Interactive.withSchema({
componentName: '<BestCommute>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
index d08f8f7fda..a3ea50220d 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
@@ -8,16 +8,18 @@ import {
Sequence,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
} from 'remotion';
import {fontFamily} from '../elements/font';
-const EndCardInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const EndCardInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{backgroundColor: 'black', fontFamily, ...style}}>
+ <AbsoluteFill
+ showInTimeline={false}
+ style={{backgroundColor: 'black', fontFamily}}
+ >
<Sequence name="Last frame" freeze={3328} premountFor={fps}>
<Video
name="IMG_0475"
@@ -39,6 +41,7 @@ const EndCardInner: React.FC<InteractiveTransformProps> = ({style}) => {
/>
</Sequence>
<AbsoluteFill
+ showInTimeline={false}
style={{
justifyContent: 'center',
alignItems: 'center',
@@ -134,4 +137,5 @@ export const EndCard = Interactive.withSchema({
componentName: '<EndCard>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
index 1d5d82f267..f731dcc6d0 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
@@ -1,21 +1,15 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {
- AbsoluteFill,
- Interactive,
- Series,
- useVideoConfig,
- type InteractiveTransformProps,
-} from 'remotion';
+import {AbsoluteFill, Interactive, Series, useVideoConfig} from 'remotion';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
import {SpeedBadge} from '../elements/SpeedBadge';
import {TitleCard} from '../elements/TitleCard';
-const GearUpInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const GearUpInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Strapping in (6x)"
@@ -208,4 +202,5 @@ export const GearUp = Interactive.withSchema({
componentName: '<GearUp>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
index 022a77250c..b035e37afe 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
@@ -8,17 +8,16 @@ import {
Series,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
} from 'remotion';
import {LocationLowerThird} from '../elements/LocationLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
-const IntroInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const IntroInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Good morning"
@@ -360,4 +359,5 @@ export const Intro = Interactive.withSchema({
componentName: '<Intro>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
index 5b333c4d29..33052ff38e 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
@@ -1,18 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {
- AbsoluteFill,
- Interactive,
- Series,
- useVideoConfig,
- type InteractiveTransformProps,
-} from 'remotion';
+import {AbsoluteFill, Interactive, Series, useVideoConfig} from 'remotion';
-const OffWeGoInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const OffWeGoInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Skiing away"
@@ -41,4 +35,5 @@ export const OffWeGo = Interactive.withSchema({
componentName: '<OffWeGo>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
index 5f2c1e3216..8bc3ab76ac 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
@@ -1,21 +1,15 @@
import {Audio, Video} from '@remotion/media';
import React from 'react';
-import {
- AbsoluteFill,
- Interactive,
- Series,
- useVideoConfig,
- type InteractiveTransformProps,
-} from 'remotion';
+import {AbsoluteFill, Interactive, Series, useVideoConfig} from 'remotion';
import {Callout} from '../elements/Callout';
import {NameLowerThird} from '../elements/NameLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
-const OfficeInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const OfficeInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Mehmet"
@@ -921,4 +915,5 @@ export const Office = Interactive.withSchema({
componentName: '<Office>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
index c997136f7b..c627d20470 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
@@ -1,18 +1,12 @@
import {Audio, Video} from '@remotion/media';
import React from 'react';
-import {
- AbsoluteFill,
- Interactive,
- Series,
- useVideoConfig,
- type InteractiveTransformProps,
-} from 'remotion';
+import {AbsoluteFill, Interactive, Series, useVideoConfig} from 'remotion';
-const RideMontageInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const RideMontageInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Under the trees"
@@ -66,4 +60,5 @@ export const RideMontage = Interactive.withSchema({
componentName: '<RideMontage>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
index 50f06de63f..c5de1d8105 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
@@ -8,17 +8,16 @@ import {
Series,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
} from 'remotion';
import {Callout} from '../elements/Callout';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
-const TheDeclineInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const TheDeclineInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Standing on top"
@@ -1049,4 +1048,5 @@ export const TheDecline = Interactive.withSchema({
componentName: '<TheDecline>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
index e0f64eed4e..f7a2e336fd 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
@@ -8,17 +8,16 @@ import {
Series,
useCurrentFrame,
useVideoConfig,
- type InteractiveTransformProps,
} from 'remotion';
import {Callout} from '../elements/Callout';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
-const UphillInner: React.FC<InteractiveTransformProps> = ({style}) => {
+const UphillInner: React.FC = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill style={{backgroundColor: 'black', ...style}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
<Series.Sequence
name="Incline"
@@ -1392,4 +1391,5 @@ export const Uphill = Interactive.withSchema({
componentName: '<Uphill>',
schema: {},
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx b/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx
index ac91303892..b1ab55bd03 100644
--- a/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx
+++ b/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx
@@ -9,12 +9,15 @@ import {
import {rollerSkiAsset} from './assets';
import {BasicCaptions} from './basic-captions';
-export const CommuteMotionGraphic: React.FC = () => {
+const CommuteMotionGraphicInner: React.FC = () => {
const frame = useCurrentFrame();
const {fps} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: '#F7F9FC', color: '#14213D'}}>
+ <AbsoluteFill
+ showInTimeline={false}
+ style={{backgroundColor: '#F7F9FC', color: '#14213D'}}
+ >
<Audio
src={rollerSkiAsset('footage/IMG_0463.MOV')}
trimBefore={417}
@@ -151,3 +154,11 @@ export const CommuteMotionGraphic: React.FC = () => {
</AbsoluteFill>
);
};
+
+export const CommuteMotionGraphic = Interactive.withSchema({
+ Component: CommuteMotionGraphicInner,
+ componentName: '<CommuteMotionGraphic>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis/Composition.tsx b/packages/jonnys-videos/src/roller-skis/Composition.tsx
index 24bad22462..a44133da4f 100644
--- a/packages/jonnys-videos/src/roller-skis/Composition.tsx
+++ b/packages/jonnys-videos/src/roller-skis/Composition.tsx
@@ -4,6 +4,7 @@ import {vignette} from '@remotion/effects/vignette';
import {Audio, Video} from '@remotion/media';
import {TransitionSeries} from '@remotion/transitions';
import {
+ Interactive,
AbsoluteFill,
Composition,
Easing,
@@ -81,11 +82,12 @@ const WhiteYouTubeIcon: React.FC = () => (
</svg>
);
-const OpeningTitleCard: React.FC = () => {
+const OpeningTitleCardInner: React.FC = () => {
const frame = useCurrentFrame();
return (
<AbsoluteFill
+ showInTimeline={false}
style={{
backgroundColor: '#000000',
color: '#ffffff',
@@ -118,7 +120,7 @@ const OpeningTitleCard: React.FC = () => {
);
};
-const PresenterZoom: React.FC = () => {
+const PresenterZoomInner: React.FC = () => {
const frame = useCurrentFrame();
const {fps} = useVideoConfig();
const zoom = interpolate(frame, [472, 516], [1, 1.09], {
@@ -127,8 +129,11 @@ const PresenterZoom: React.FC = () => {
});
return (
- <AbsoluteFill style={{overflow: 'hidden'}}>
- <AbsoluteFill style={{transform: `scale(${zoom})`}}>
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
+ <AbsoluteFill
+ showInTimeline={false}
+ style={{transform: `scale(${zoom})`}}
+ >
<Video
src={rollerSkiAsset('footage/webcam1790843295628.mp4')}
durationInFrames={436}
@@ -181,7 +186,7 @@ const PresenterZoom: React.FC = () => {
);
};
-const TvColorBars: React.FC = () => {
+const TvColorBarsInner: React.FC = () => {
const frame = useCurrentFrame();
const top = [
'#e6e6e6',
@@ -203,7 +208,10 @@ const TvColorBars: React.FC = () => {
];
return (
- <AbsoluteFill style={{backgroundColor: '#080808', overflow: 'hidden'}}>
+ <AbsoluteFill
+ showInTimeline={false}
+ style={{backgroundColor: '#080808', overflow: 'hidden'}}
+ >
<div style={{display: 'flex', height: '68%'}}>
{top.map((color, index) => (
<div key={index} style={{backgroundColor: color, flex: 1}} />
@@ -234,11 +242,12 @@ const TvColorBars: React.FC = () => {
const STRAVA_BROLL_DURATION = 165;
-const StravaRidesBroll: React.FC = () => {
+const StravaRidesBrollInner: React.FC = () => {
const frame = useCurrentFrame();
return (
<AbsoluteFill
+ showInTimeline={false}
style={{
backgroundColor: '#000000',
opacity: interpolate(
@@ -254,7 +263,7 @@ const StravaRidesBroll: React.FC = () => {
);
};
-export const PresenterIntroduction: React.FC = () => {
+const PresenterIntroductionInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
@@ -645,7 +654,7 @@ export const PresenterIntroduction: React.FC = () => {
);
};
-const RollerSkiRoughCut: React.FC = () => {
+const RollerSkiRoughCutInner: React.FC = () => {
const frame = useCurrentFrame();
const {fps} = useVideoConfig();
@@ -3710,25 +3719,12 @@ const RollerSkiRoughCut: React.FC = () => {
durationInFrames={798}
premountFor={fps}
>
- <Video
- src={rollerSkiAsset('footage/webcam1790859120255.mp4')}
- trimBefore={90}
- style={{
- ...videoStyle,
- transform: 'translateY(-55px) scale(1.12)',
- }}
- objectFit="cover"
- premountFor={fps}
- effects={[lut({content: studioLut})]}
- />
- <Sequence
+ <StravaRidesBroll
name="Four Strava rides b-roll"
from={2 * FPS}
durationInFrames={STRAVA_BROLL_DURATION}
premountFor={fps}
- >
- <StravaRidesBroll />
- </Sequence>
+ />
<BasicCaptions
name="Closing thoughts captions"
captions={closingThoughtsBeforeCaptions}
@@ -4001,29 +3997,24 @@ const RollerSkiRoughCut: React.FC = () => {
/>
</TransitionSeries.Sequence>
</TransitionSeries>
- <Sequence
+ <YouTubeEndCard
name="Jonny Burger YouTube end card"
from={END_CARD_START}
durationInFrames={END_CARD_DURATION_IN_FRAMES}
premountFor={fps}
- >
- <AbsoluteFill
- style={{
- translate: interpolate(
- frame,
- [12115, 12139],
- ['1920px 0px', '0px 0px'],
- {
- easing: [Easing.bezier(0.22, 1, 0.36, 1)],
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- },
- ),
- }}
- >
- <YouTubeEndCard />
- </AbsoluteFill>
- </Sequence>
+ style={{
+ translate: interpolate(
+ frame,
+ [12115, 12139],
+ ['1920px 0px', '0px 0px'],
+ {
+ easing: [Easing.bezier(0.22, 1, 0.36, 1)],
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ },
+ ),
+ }}
+ />
<Audio
name="No School Today music"
src={rollerSkiAsset('audio/no-school-today-femme-tov.wav')}
@@ -4057,3 +4048,51 @@ const RollerSkiRoughCut: React.FC = () => {
</>
);
};
+
+const OpeningTitleCard = Interactive.withSchema({
+ Component: OpeningTitleCardInner,
+ componentName: '<OpeningTitleCard>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+const PresenterZoom = Interactive.withSchema({
+ Component: PresenterZoomInner,
+ componentName: '<PresenterZoom>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+const TvColorBars = Interactive.withSchema({
+ Component: TvColorBarsInner,
+ componentName: '<TvColorBars>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+const StravaRidesBroll = Interactive.withSchema({
+ Component: StravaRidesBrollInner,
+ componentName: '<StravaRidesBroll>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+export const PresenterIntroduction = Interactive.withSchema({
+ Component: PresenterIntroductionInner,
+ componentName: '<PresenterIntroduction>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
+
+const RollerSkiRoughCut = Interactive.withSchema({
+ Component: RollerSkiRoughCutInner,
+ componentName: '<RollerSkiRoughCut>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis/Thumbnail.tsx b/packages/jonnys-videos/src/roller-skis/Thumbnail.tsx
index 9c1eeb61e4..5d7b778cd8 100644
--- a/packages/jonnys-videos/src/roller-skis/Thumbnail.tsx
+++ b/packages/jonnys-videos/src/roller-skis/Thumbnail.tsx
@@ -1,10 +1,11 @@
import {AbsoluteFill, CanvasImage, Interactive} from 'remotion';
import {rollerSkiAsset} from './assets';
-export const Thumbnail: React.FC = () => {
+const ThumbnailInner: React.FC = () => {
return (
<>
<AbsoluteFill
+ showInTimeline={false}
style={{
translate: '-91.1px 0px',
}}
@@ -59,3 +60,11 @@ export const Thumbnail: React.FC = () => {
</>
);
};
+
+export const Thumbnail = Interactive.withSchema({
+ Component: ThumbnailInner,
+ componentName: '<Thumbnail>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsx b/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsx
index 3eb08498c6..d9b94207e4 100644
--- a/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsx
+++ b/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsx
@@ -305,9 +305,10 @@ const LeftSide = () => {
);
};
-export const YouTubeEndCard = () => {
+const YouTubeEndCardInner = () => {
return (
<AbsoluteFill
+ showInTimeline={false}
style={{backgroundColor: '#FAFAFA', color: 'black'}}
name="Container"
>
@@ -337,3 +338,11 @@ export const YouTubeEndCard = () => {
</AbsoluteFill>
);
};
+
+export const YouTubeEndCard = Interactive.withSchema({
+ Component: YouTubeEndCardInner,
+ componentName: '<YouTubeEndCard>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsx b/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsx
index 1a1900e642..9360e419ac 100644
--- a/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsx
+++ b/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsx
@@ -14,7 +14,6 @@ type BlueprintStageProps = {
readonly lineWidth: number;
readonly occluderColor?: string;
readonly stillTimeSeconds?: number;
- readonly style?: React.CSSProperties;
};
const BlueprintStageInner: React.FC<BlueprintStageProps> = ({
@@ -22,7 +21,6 @@ const BlueprintStageInner: React.FC<BlueprintStageProps> = ({
lineWidth,
occluderColor,
stillTimeSeconds,
- style,
}) => {
const frame = useCurrentFrame();
const {fps, width, height} = useVideoConfig();
@@ -62,9 +60,7 @@ const BlueprintStageInner: React.FC<BlueprintStageProps> = ({
pixelRatio,
]);
- return (
- <div ref={container} style={{position: 'absolute', inset: 0, ...style}} />
- );
+ return <div ref={container} style={{position: 'absolute', inset: 0}} />;
};
const blueprintStageSchema = {
@@ -90,4 +86,5 @@ export const BlueprintStage = Interactive.withSchema({
componentName: '<BlueprintStage>',
schema: blueprintStageSchema,
wrapInSequence: true,
+ layout: 'absolute-fill',
});
diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx b/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx
index 9c01422ce6..cd78331566 100644
--- a/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx
+++ b/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx
@@ -12,11 +12,11 @@ import {CodeCard} from './CodeCard';
// Timing follows src/blueprint/timeline.ts: drop and whip-in at frame 255,
// cuts on the beat of the 113 BPM score.
-export const RollerSkiBlueprint: React.FC = () => {
+const RollerSkiBlueprintInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
- <AbsoluteFill style={{backgroundColor: '#FFFFFF'}}>
+ <AbsoluteFill showInTimeline={false} style={{backgroundColor: '#FFFFFF'}}>
<Audio
name="Score · drop at 8.5 s"
src={rollerSkiAsset('blueprint/soundtrack.wav')}
@@ -122,3 +122,11 @@ export const RollerSkiBlueprintCompositions: React.FC = () => {
</Folder>
);
};
+
+export const RollerSkiBlueprint = Interactive.withSchema({
+ Component: RollerSkiBlueprintInner,
+ componentName: '<RollerSkiBlueprint>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx b/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx
index e58d6a69b0..9bfdb521dd 100644
--- a/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx
+++ b/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx
@@ -217,7 +217,7 @@ const RoutePanel = Interactive.withSchema({
wrapInSequence: true,
});
-export const NordicRoutes: React.FC<{whiteOverlay?: boolean}> = ({
+const NordicRoutesInner: React.FC<{whiteOverlay?: boolean}> = ({
whiteOverlay = false,
}) => {
const frame = useCurrentFrame();
@@ -225,6 +225,7 @@ export const NordicRoutes: React.FC<{whiteOverlay?: boolean}> = ({
return (
<AbsoluteFill
+ showInTimeline={false}
style={{
backgroundColor: whiteOverlay ? 'transparent' : '#F7F6F2',
color: whiteOverlay ? '#FFFFFF' : '#292C29',
@@ -290,3 +291,11 @@ export const NordicRoutes: React.FC<{whiteOverlay?: boolean}> = ({
</AbsoluteFill>
);
};
+
+export const NordicRoutes = Interactive.withSchema({
+ Component: NordicRoutesInner,
+ componentName: '<NordicRoutes>',
+ schema: {},
+ wrapInSequence: true,
+ layout: 'absolute-fill',
+});