Skip to content

🎥 Make videos programmatically with React

chore(jonnys-videos): remove premountFor props

JonnyBurgerb6ef9a834258
diff --git a/packages/jonnys-videos/src/components/AnimatedCaptions.tsx b/packages/jonnys-videos/src/components/AnimatedCaptions.tsx
index 0f188dc32f..7240c8b11a 100644
--- a/packages/jonnys-videos/src/components/AnimatedCaptions.tsx
+++ b/packages/jonnys-videos/src/components/AnimatedCaptions.tsx
@@ -335,15 +335,9 @@ const AnimatedCaptionsContent: React.FC<{
return (
<>
{voiceoverSrc ? (
- <Audio
- premountFor={fps}
- src={voiceoverSrc}
- hidden
- showInTimeline={false}
- />
+ <Audio src={voiceoverSrc} hidden showInTimeline={false} />
) : null}
<HtmlInCanvas
- premountFor={fps}
name="Animated captions canvas"
width={width}
height={height}
@@ -389,7 +383,6 @@ const AnimatedCaptionsContent: React.FC<{
key={pageKey}
from={startFrame}
durationInFrames={durationInFrames}
- premountFor={fps}
showInTimeline={false}
focusProgress={focusProgress}
focusedTokenIndex={focusedTokenIndex}
diff --git a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
index 4936a0e62a..677032d4d2 100644
--- a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
@@ -34,7 +34,6 @@ const BigWordPageInner: React.FC<{page: TikTokPage}> = ({page}) => {
return (
<AbsoluteFill
showInTimeline={false}
- premountFor={fps}
style={{
alignItems: 'center',
justifyContent: 'center',
@@ -44,7 +43,6 @@ const BigWordPageInner: React.FC<{page: TikTokPage}> = ({page}) => {
}}
>
<Interactive.Div
- premountFor={fps}
name={`Caption page: ${page.text.trim()}`}
style={{
alignItems: 'center',
@@ -161,12 +159,7 @@ const AnimatedCaptionsBigWordsInner: React.FC = () => {
return (
<>
- <Audio
- premountFor={fps}
- src={asset(VOICEOVER_FILE)}
- hidden
- showInTimeline={false}
- />
+ <Audio src={asset(VOICEOVER_FILE)} hidden showInTimeline={false} />
{pages.map((page, index) => {
const nextPage = pages[index + 1];
const startFrame = Math.round((page.startMs / 1000) * fps);
@@ -187,7 +180,6 @@ const AnimatedCaptionsBigWordsInner: React.FC = () => {
name={`Caption page: ${page.text.trim()}`}
from={startFrame}
durationInFrames={durationInFrames}
- premountFor={fps}
showInTimeline={false}
page={page}
/>
diff --git a/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx b/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
index e2caa725e1..9cae58869b 100644
--- a/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
@@ -2,22 +2,14 @@ import {dropShadow} from '@remotion/effects/drop-shadow';
import {scale} from '@remotion/effects/scale';
import {Arrow} from '@remotion/shapes';
import React from 'react';
-import {
- Interactive,
- useVideoConfig,
- CanvasImage,
- interpolate,
- useCurrentFrame,
-} from 'remotion';
+import {Interactive, CanvasImage, interpolate, useCurrentFrame} from 'remotion';
import {asset} from './assets';
const ArrowLogoInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Arrow
- premountFor={fps}
length={300}
headWidth={185}
headLength={120}
@@ -43,7 +35,6 @@ const ArrowLogoInner: React.FC = () => {
]}
/>
<CanvasImage
- premountFor={fps}
src={asset('claude-logo-png_seeklogo-554534 (1).png')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx b/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
index bf8430f5f5..c1662e15b5 100644
--- a/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
@@ -3,21 +3,14 @@ import {scale} from '@remotion/effects/scale';
import {noise2D} from '@remotion/noise';
import {Arrow} from '@remotion/shapes';
import React from 'react';
-import {
- Interactive,
- useVideoConfig,
- CanvasImage,
- useCurrentFrame,
-} from 'remotion';
+import {Interactive, CanvasImage, useCurrentFrame} from 'remotion';
import {asset} from './assets';
const ArrowLogoRemotionInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Arrow
- premountFor={fps}
length={300}
headWidth={185}
headLength={120}
@@ -43,7 +36,6 @@ const ArrowLogoRemotionInner: React.FC = () => {
]}
/>
<CanvasImage
- premountFor={fps}
src={asset('remotion-logo.svg')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx b/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx
index abeaa7b077..bc8081bd23 100644
--- a/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/BirthdayPartyCompilation.tsx
@@ -2,7 +2,6 @@ import {Video} from '@remotion/media';
import React from 'react';
import {
Interactive,
- useVideoConfig,
Solid,
interpolate,
useCurrentFrame,
@@ -14,7 +13,6 @@ import {Clip3} from './Clip3';
import {Clip4} from './Clip4';
const BirthdayPartyCompilationInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
@@ -27,7 +25,6 @@ const BirthdayPartyCompilationInner: React.FC = () => {
position: 'absolute',
}}
from={93}
- premountFor={fps}
/>
<Clip3
name="Clip3"
@@ -38,7 +35,6 @@ const BirthdayPartyCompilationInner: React.FC = () => {
position: 'absolute',
}}
from={37}
- premountFor={fps}
/>
<Clip4
name="Clip4"
@@ -49,7 +45,6 @@ const BirthdayPartyCompilationInner: React.FC = () => {
position: 'absolute',
}}
from={134}
- premountFor={fps}
/>
<Video
src={asset('Setup.mp4')}
@@ -61,11 +56,9 @@ const BirthdayPartyCompilationInner: React.FC = () => {
from={4}
durationInFrames={33}
trimBefore={11}
- premountFor={fps}
muted
/>
<Solid
- premountFor={fps}
width={1080}
height={1920}
color={'#ffffff'}
diff --git a/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx b/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
index 60ba628acd..0eff5b1d78 100644
--- a/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
@@ -5,7 +5,6 @@ import {scale} from '@remotion/effects/scale';
import {vignette} from '@remotion/effects/vignette';
import React from 'react';
import {
- useVideoConfig,
CanvasImage,
Interactive,
interpolate,
@@ -15,13 +14,11 @@ import {
import {asset} from './assets';
const ClientSideChadInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
const title = 'BEN2-ONNX';
return (
<>
<CanvasImage
- premountFor={fps}
src={asset('Screenshot 2026-07-19 at 18.11.15.png')}
style={{
position: 'absolute',
@@ -56,7 +53,6 @@ const ClientSideChadInner: React.FC = () => {
]}
/>
<CanvasImage
- premountFor={fps}
src={asset('images.png')}
style={{
position: 'absolute',
@@ -106,7 +102,6 @@ const ClientSideChadInner: React.FC = () => {
from={22}
/>
<CanvasImage
- premountFor={fps}
src={asset('WebGPU_logo.svg.webp')}
style={{
position: 'absolute',
@@ -155,7 +150,6 @@ const ClientSideChadInner: React.FC = () => {
from={22}
/>
<Interactive.Div
- premountFor={fps}
name="BEN2-ONNX typewriter"
style={{
color: '#ffffff',
@@ -196,7 +190,6 @@ const ClientSideChadInner: React.FC = () => {
{title}
</Interactive.Div>
<CanvasImage
- premountFor={fps}
src={asset('mediabunny-logo (1).svg')}
style={{
position: 'absolute',
@@ -226,7 +219,6 @@ const ClientSideChadInner: React.FC = () => {
from={22}
/>
<CanvasImage
- premountFor={fps}
src={asset('image.png')}
style={{
position: 'absolute',
@@ -252,7 +244,6 @@ const ClientSideChadInner: React.FC = () => {
]}
/>
<CanvasImage
- premountFor={fps}
src={asset('image-1.png')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip1.tsx b/packages/jonnys-videos/src/disco-light-show/Clip1.tsx
index 7cb7d8df56..53e56ec38f 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip1.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip1.tsx
@@ -1,14 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const Clip1Inner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
- premountFor={fps}
src={asset('clip1-source.mp4')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip3.tsx b/packages/jonnys-videos/src/disco-light-show/Clip3.tsx
index 4692b8e28b..47a645b5ee 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip3.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip3.tsx
@@ -1,16 +1,10 @@
import {linearProgressiveBlur} from '@remotion/effects/linear-progressive-blur';
import {Video} from '@remotion/media';
import React from 'react';
-import {
- Interactive,
- useVideoConfig,
- interpolate,
- useCurrentFrame,
-} from 'remotion';
+import {Interactive, interpolate, useCurrentFrame} from 'remotion';
import {asset} from './assets';
const Clip3Inner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
@@ -36,7 +30,6 @@ const Clip3Inner: React.FC = () => {
}),
]}
muted
- premountFor={fps}
/>
</>
);
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip4.tsx b/packages/jonnys-videos/src/disco-light-show/Clip4.tsx
index e3dfef34de..543edac78f 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip4.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip4.tsx
@@ -1,14 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const Clip4Inner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
- premountFor={fps}
src={asset('IMG_8549.mp4')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/Clip5.tsx b/packages/jonnys-videos/src/disco-light-show/Clip5.tsx
index 2e27dab3d6..b005893696 100644
--- a/packages/jonnys-videos/src/disco-light-show/Clip5.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Clip5.tsx
@@ -1,14 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const Clip5Inner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
- premountFor={fps}
src={asset('clip5-source.mp4')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/Composition.tsx b/packages/jonnys-videos/src/disco-light-show/Composition.tsx
index 4065eb4ab4..5c130b8cbb 100644
--- a/packages/jonnys-videos/src/disco-light-show/Composition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Composition.tsx
@@ -1,7 +1,6 @@
import {Audio, Video} from '@remotion/media';
import {
Interactive,
- useVideoConfig,
Composition,
Easing,
Folder,
@@ -76,12 +75,10 @@ export const MyComposition = () => {
};
const MyComponentInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<DiscoBallBg
- premountFor={fps}
name="DiscoBallBg"
width={1080}
height={1920}
@@ -91,7 +88,6 @@ const MyComponentInner: React.FC = () => {
}}
/>
<TextBackgroundComposition
- premountFor={fps}
name="Text background"
width={1920}
height={1080}
@@ -170,16 +166,10 @@ const MyComponentInner: React.FC = () => {
position: 'absolute',
}}
from={182}
- premountFor={fps}
- />
- <Audio
- premountFor={fps}
- name="Voiceover"
- src={asset('text-behind-video-2.wav')}
/>
+ <Audio name="Voiceover" src={asset('text-behind-video-2.wav')} />
<Track name="Captions">
<AnimatedCaptions
- premountFor={fps}
name="AnimatedCaptions"
width={1080}
height={360}
@@ -190,7 +180,6 @@ const MyComponentInner: React.FC = () => {
}}
/>
<AnimatedCaptions
- premountFor={fps}
name="AnimatedCaptions"
width={1080}
height={360}
@@ -203,7 +192,6 @@ const MyComponentInner: React.FC = () => {
}}
/>
<AnimatedCaptions
- premountFor={fps}
name="AnimatedCaptions"
width={1080}
height={360}
@@ -235,7 +223,6 @@ const MyComponentInner: React.FC = () => {
/>
</Track>
<AnimatedCaptionsBigWords
- premountFor={fps}
name="AnimatedCaptionsBigWords"
width={1080}
height={1920}
@@ -309,7 +296,6 @@ const MyComponentInner: React.FC = () => {
}),
}}
from={337}
- premountFor={fps}
/>
<HuggingFace
name="HuggingFace"
@@ -354,7 +340,6 @@ const MyComponentInner: React.FC = () => {
}),
}}
from={537}
- premountFor={fps}
/>
<ClientSideChad
name="ClientSideChad"
@@ -369,7 +354,6 @@ const MyComponentInner: React.FC = () => {
}),
}}
from={694}
- premountFor={fps}
/>
<Separate
name="Separate"
@@ -437,7 +421,6 @@ const MyComponentInner: React.FC = () => {
},
),
}}
- premountFor={fps}
/>
<Fork
name="Fork"
@@ -493,10 +476,8 @@ const MyComponentInner: React.FC = () => {
),
}}
from={953}
- premountFor={fps}
/>
<ForkDrop
- premountFor={fps}
name="ForkDrop"
width={1080}
height={1920}
@@ -570,7 +551,6 @@ const MyComponentInner: React.FC = () => {
}),
}}
from={1093}
- premountFor={fps}
/>
<VibeCoded
name="VibeCoded"
@@ -615,7 +595,6 @@ const MyComponentInner: React.FC = () => {
scale: 0.9999999983052765,
}}
from={1125}
- premountFor={fps}
trimBefore={35}
/>
<Mediabunny
@@ -627,10 +606,8 @@ const MyComponentInner: React.FC = () => {
style={{
position: 'absolute',
}}
- premountFor={fps}
/>
<DragInDemo
- premountFor={fps}
name="DragInDemo"
width={1080}
height={1920}
@@ -685,10 +662,8 @@ const MyComponentInner: React.FC = () => {
),
}}
from={1337}
- premountFor={fps}
/>
<CanvasImage
- premountFor={fps}
src={asset('Screenshot 2026-07-19 at 18.28.52.png')}
style={{
position: 'absolute',
@@ -759,7 +734,6 @@ const MyComponentInner: React.FC = () => {
name="Fork sound effect"
src={asset('fahhhh.mp3')}
from={1036}
- premountFor={fps}
volume={0.1}
durationInFrames={772}
/>
@@ -775,19 +749,16 @@ const MyComponentInner: React.FC = () => {
}}
from={1615}
durationInFrames={66}
- premountFor={fps}
playbackRate={0.8}
/>
<TextBehindVideoSeriesFirst20sComposition
name="TextBehindVideoSeriesFirst20s"
from={1648}
- premountFor={fps}
durationInFrames={TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES}
width={1080}
height={1920}
/>
<Countdown
- premountFor={fps}
name="Countdown"
from={1556}
durationInFrames={COUNTDOWN_DURATION_IN_FRAMES}
diff --git a/packages/jonnys-videos/src/disco-light-show/Countdown.tsx b/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
index 8b067b1672..e16f44a968 100644
--- a/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
@@ -14,13 +14,12 @@ export const COUNTDOWN_DURATION_IN_FRAMES = 59;
const CountdownPageInner: React.FC<{
readonly number: string;
}> = ({number}) => {
- const {fps, durationInFrames} = useVideoConfig();
+ const {durationInFrames} = useVideoConfig();
const frame = useCurrentFrame();
return (
<AbsoluteFill
showInTimeline={false}
- premountFor={fps}
style={{
alignItems: 'center',
justifyContent: 'center',
@@ -29,7 +28,6 @@ const CountdownPageInner: React.FC<{
}}
>
<Interactive.Div
- premountFor={fps}
name="Countdown number"
style={{
color: '#ffffff',
@@ -79,28 +77,20 @@ const CountdownPage = Interactive.create({
});
const CountdownInner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
- <CountdownPage
- name="Countdown 3"
- number="3"
- durationInFrames={20}
- premountFor={fps}
- />
+ <CountdownPage name="Countdown 3" number="3" durationInFrames={20} />
<CountdownPage
name="Countdown 2"
number="2"
from={20}
durationInFrames={20}
- premountFor={fps}
/>
<CountdownPage
name="Countdown 1"
number="1"
from={40}
durationInFrames={19}
- premountFor={fps}
/>
</>
);
diff --git a/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx b/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx
index 40080a29fa..dcac597c36 100644
--- a/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/DiscoBallBg.tsx
@@ -8,7 +8,6 @@ import {Video} from '@remotion/media';
import React from 'react';
import {
Interactive,
- useVideoConfig,
Solid,
Sequence,
useCurrentFrame,
@@ -17,25 +16,21 @@ import {
import {asset} from './assets';
const DiscoBallBgInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Solid
- premountFor={fps}
color={'#1e1c1c'}
width={1080}
height={1920}
style={{position: 'absolute'}}
/>
<Sequence
- premountFor={fps}
style={{
opacity: 0.1,
}}
>
<Solid
- premountFor={fps}
width={1080}
height={1920}
color={'#010101'}
@@ -81,7 +76,6 @@ const DiscoBallBgInner: React.FC = () => {
/>
<Solid
- premountFor={fps}
width={1080}
height={1920}
color={'rgba(255, 255, 255, 0)'}
@@ -90,7 +84,6 @@ const DiscoBallBgInner: React.FC = () => {
}}
/>
<Video
- premountFor={fps}
src={asset('disco-ball-3d-loop.mov')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx b/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
index e72bfa9d65..d6436fdd7d 100644
--- a/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
@@ -1,14 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const DragInDemoInner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
- premountFor={fps}
src={asset('Screen Recording 2026-07-19 at 18.16.56.mov')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx b/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx
index 833c8cd797..c135156bd6 100644
--- a/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/EffectShow.tsx
@@ -1,10 +1,9 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const EffectShowInner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
@@ -20,7 +19,6 @@ const EffectShowInner: React.FC = () => {
}}
muted
trimBefore={151}
- premountFor={fps}
/>
</>
);
diff --git a/packages/jonnys-videos/src/disco-light-show/Fork.tsx b/packages/jonnys-videos/src/disco-light-show/Fork.tsx
index 8152c1890e..edcc6a59f2 100644
--- a/packages/jonnys-videos/src/disco-light-show/Fork.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Fork.tsx
@@ -2,7 +2,6 @@ import {Video} from '@remotion/media';
import React from 'react';
import {
Interactive,
- useVideoConfig,
CanvasImage,
interpolate,
useCurrentFrame,
@@ -11,7 +10,6 @@ import {
import {asset} from './assets';
const ForkInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
@@ -23,10 +21,8 @@ const ForkInner: React.FC = () => {
scale: 1.519,
}}
from={62}
- premountFor={fps}
/>
<CanvasImage
- premountFor={fps}
pauseWhenLoading={false}
src={asset('elegant-silver-fork-free-png.webp')}
style={{
@@ -55,7 +51,6 @@ const ForkInner: React.FC = () => {
trimBefore={7}
/>
<CanvasImage
- premountFor={fps}
src={asset('Screenshot 2026-07-19 at 14.35.33.png')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx b/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
index 171bba38ba..bbb7ce58d8 100644
--- a/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import {
- useVideoConfig,
AbsoluteFill,
Easing,
CanvasImage,
@@ -11,17 +10,11 @@ import {
import {asset} from './assets';
const ForkDropInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill
- showInTimeline={false}
- premountFor={fps}
- style={{overflow: 'hidden'}}
- >
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
<CanvasImage
- premountFor={fps}
name="Cursor chat window"
src={asset('Screenshot 2026-07-19 at 16.26.01.png')}
style={{
@@ -33,7 +26,6 @@ const ForkDropInner: React.FC = () => {
}}
/>
<Interactive.Div
- premountFor={fps}
name="Chat drop highlight"
style={{
position: 'absolute',
@@ -60,7 +52,6 @@ const ForkDropInner: React.FC = () => {
}}
/>
<Interactive.Div
- premountFor={fps}
name="Forked Hugging Face page"
style={{
position: 'absolute',
@@ -96,14 +87,12 @@ const ForkDropInner: React.FC = () => {
}}
>
<CanvasImage
- premountFor={fps}
src={asset('Screenshot 2026-07-19 at 14.35.33.png')}
style={{width: 1428, height: 786}}
showInTimeline={false}
/>
</Interactive.Div>
<CanvasImage
- premountFor={fps}
name="Dragging fork"
src={asset('elegant-silver-fork-free-png.webp')}
style={{
diff --git a/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx b/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx
index 0f4e41af33..d37d69c564 100644
--- a/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/HuggingFace.tsx
@@ -1,14 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const HuggingFaceInner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
- premountFor={fps}
src={asset('Screen Recording 2026-07-19 at 10.04.18.mov')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx b/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
index 0031e6b0be..73d99ff078 100644
--- a/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
@@ -1,20 +1,12 @@
import React from 'react';
-import {
- Interactive,
- useVideoConfig,
- CanvasImage,
- interpolate,
- useCurrentFrame,
-} from 'remotion';
+import {Interactive, CanvasImage, interpolate, useCurrentFrame} from 'remotion';
import {asset} from './assets';
const MediabunnyInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<CanvasImage
- premountFor={fps}
src={asset('mediabunny-logo.png')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/OneShot.tsx b/packages/jonnys-videos/src/disco-light-show/OneShot.tsx
index 0f6dcaebba..90b32d1b3e 100644
--- a/packages/jonnys-videos/src/disco-light-show/OneShot.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/OneShot.tsx
@@ -1,7 +1,6 @@
import {grayscale} from '@remotion/effects/grayscale';
import React from 'react';
import {
- useVideoConfig,
AnimatedImage,
Interactive,
interpolate,
@@ -10,12 +9,10 @@ import {
import {asset} from './assets';
const OneShotInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<AnimatedImage
- premountFor={fps}
src={asset('Eu0CBaxXpj8DK85e61.webp')}
style={{
position: 'absolute',
@@ -28,7 +25,6 @@ const OneShotInner: React.FC = () => {
playbackRate={0.5}
/>
<Interactive.Div
- premountFor={fps}
name="One-Shot title"
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx b/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx
index 23e6600511..e3f030a03c 100644
--- a/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ScreenRecordingComposition.tsx
@@ -14,11 +14,10 @@ export const SCREEN_RECORDING_DURATION_IN_FRAMES = 280;
const ScreenRecordingCompositionInner: React.FC = () => {
const frame = useCurrentFrame();
- const {fps, durationInFrames} = useVideoConfig();
+ const {durationInFrames} = useVideoConfig();
return (
<Solid
- premountFor={fps}
width={1080}
height={1920}
color={'#191919'}
diff --git a/packages/jonnys-videos/src/disco-light-show/Separate.tsx b/packages/jonnys-videos/src/disco-light-show/Separate.tsx
index ecbdfbe4b1..a25a1039be 100644
--- a/packages/jonnys-videos/src/disco-light-show/Separate.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Separate.tsx
@@ -1,14 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, useVideoConfig} from 'remotion';
+import {Interactive} from 'remotion';
import {asset} from './assets';
const SeparateInner: React.FC = () => {
- const {fps} = useVideoConfig();
return (
<>
<Video
- premountFor={fps}
src={asset('Screen Recording 2026-07-19 at 17.05.25.mov')}
style={{
position: 'absolute',
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx b/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx
index 47a0e22eb7..8300165872 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBackgroundComposition.tsx
@@ -1,11 +1,5 @@
import {Video} from '@remotion/media';
-import {
- Interactive,
- useVideoConfig,
- interpolate,
- useCurrentFrame,
- Easing,
-} from 'remotion';
+import {Interactive, interpolate, useCurrentFrame, Easing} from 'remotion';
import {ArrowLogo} from './ArrowLogo';
import {ArrowLogoRemotion} from './ArrowLogoRemotion';
import {asset} from './assets';
@@ -13,12 +7,10 @@ import {asset} from './assets';
export const TEXT_BACKGROUND_DURATION_IN_FRAMES = 226;
const TextBackgroundCompositionInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Video
- premountFor={fps}
src={asset('text-background.mov')}
style={{
width: 1920,
@@ -29,7 +21,6 @@ const TextBackgroundCompositionInner: React.FC = () => {
durationInFrames={TEXT_BACKGROUND_DURATION_IN_FRAMES}
/>
<ArrowLogo
- premountFor={fps}
name="ArrowLogo"
width={1920}
height={1080}
@@ -92,7 +83,6 @@ const TextBackgroundCompositionInner: React.FC = () => {
from={94}
/>
<ArrowLogoRemotion
- premountFor={fps}
name="ArrowLogoRemotion"
width={1920}
height={1080}
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
index 4e76d40951..2431db2afc 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
@@ -1,7 +1,6 @@
import {Video} from '@remotion/media';
import {
Interactive,
- useVideoConfig,
Composition,
Easing,
interpolate,
@@ -13,13 +12,11 @@ import {Clip5} from './Clip5';
export const TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES = 190;
const TextBehindVideoSeriesFirst20sCompositionInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Clip5
- premountFor={fps}
name="Clip5"
width={1080}
height={1920}
@@ -50,7 +47,6 @@ const TextBehindVideoSeriesFirst20sCompositionInner: React.FC = () => {
from={-1}
/>
<Clip5
- premountFor={fps}
name="Clip5-copy"
width={1080}
height={1920}
@@ -81,7 +77,6 @@ const TextBehindVideoSeriesFirst20sCompositionInner: React.FC = () => {
from={-1}
/>
<Video
- premountFor={fps}
name="Text behind video"
showInTimeline={false}
src={asset('text-behind-video-series-first-20s.mp4')}
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
index 76defddd5b..3e4e439cce 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
@@ -1,6 +1,5 @@
import {Video} from '@remotion/media';
import {
- useVideoConfig,
AbsoluteFill,
Composition,
Easing,
@@ -11,17 +10,11 @@ import {
import {asset} from './assets';
const TextBehindVideoStackCompositionInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
- <AbsoluteFill
- showInTimeline={false}
- premountFor={fps}
- style={{overflow: 'hidden'}}
- >
+ <AbsoluteFill showInTimeline={false} style={{overflow: 'hidden'}}>
<Interactive.Div
- premountFor={fps}
name="Background video"
style={{
position: 'absolute',
@@ -53,7 +46,6 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
}}
>
<Video
- premountFor={fps}
src={asset('text-behind-video-background.webm')}
from={0}
trimBefore={330}
@@ -69,7 +61,6 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
/>
</Interactive.Div>
<Interactive.Div
- premountFor={fps}
name="Text video"
style={{
position: 'absolute',
@@ -111,11 +102,9 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
boxShadow: '0px 0px 50px rgba(255, 255, 255, 0.5)',
borderRadius: 60,
}}
- premountFor={fps}
/>
</Interactive.Div>
<Interactive.Div
- premountFor={fps}
name="Foreground video"
style={{
position: 'absolute',
@@ -147,7 +136,6 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
}}
>
<Video
- premountFor={fps}
src={asset('text-behind-video-foreground.webm')}
from={0}
trimBefore={330}
diff --git a/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx b/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
index f85789431e..e05c17db78 100644
--- a/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
@@ -1,20 +1,13 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {
- Interactive,
- useVideoConfig,
- interpolate,
- useCurrentFrame,
-} from 'remotion';
+import {Interactive, interpolate, useCurrentFrame} from 'remotion';
import {asset} from './assets';
const VibeCodedInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Video
- premountFor={fps}
src={asset('Screen Recording 2026-07-19 at 17.43.33.mov')}
style={{
position: 'absolute',
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 ae7af37f91..b9f0c9de5b 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
@@ -45,25 +45,21 @@ const HowCanRemotionBeFreeInner: React.FC = () => {
name="Premium version"
from={PREMIUM_VERSION_START_FRAME}
durationInFrames={PREMIUM_VERSION_DURATION_IN_FRAMES}
- premountFor={30}
/>
<UnrulyOutcome
name="Unruly outcome"
from={UNRULY_OUTCOME_START_FRAME}
durationInFrames={UNRULY_OUTCOME_DURATION_IN_FRAMES}
- premountFor={30}
/>
<FirstCustomerChart
name="First customer chart"
from={FIRST_CUSTOMER_CHART_START_FRAME}
durationInFrames={FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES}
- premountFor={30}
/>
<ZurichPhoto
name="Switzerland photograph and watch"
from={SWITZERLAND_SCENE_START_FRAME}
durationInFrames={ZURICH_PHOTO_DURATION_IN_FRAMES}
- premountFor={30}
/>
<AnimatedCaptions
name="AnimatedCaptions"
diff --git a/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsx b/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsx
index a637ed7558..f7f78aa1f7 100644
--- a/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsx
+++ b/packages/jonnys-videos/src/plane-sight/AgentAirportSign.tsx
@@ -3,12 +3,9 @@ import {
type InteractiveTransformProps,
CanvasImage,
Interactive,
- useVideoConfig,
} from 'remotion';
const AgentAirportSignContent = ({style}: InteractiveTransformProps) => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill style={style}>
<CanvasImage
@@ -16,7 +13,6 @@ const AgentAirportSignContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/branding/agent-airport-international.png'
}
- premountFor={fps}
style={{
position: 'absolute',
left: 40,
diff --git a/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsx b/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsx
index bb7d83247b..7ae55b420a 100644
--- a/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsx
+++ b/packages/jonnys-videos/src/plane-sight/AirportAircraft.tsx
@@ -1,7 +1,6 @@
import {
AbsoluteFill,
Interactive,
- useVideoConfig,
type InteractiveTransformProps,
} from 'remotion';
import {
@@ -34,8 +33,6 @@ const AirportAircraftContent = ({
height,
style,
}: AirportAircraftProps) => {
- const {fps} = useVideoConfig();
-
if (status === 'In flight') {
return null;
}
@@ -65,7 +62,6 @@ const AirportAircraftContent = ({
airframe={airframe}
width={null}
height={null}
- premountFor={fps}
/>
) : (
<OpenAirPlane
@@ -73,7 +69,6 @@ const AirportAircraftContent = ({
airframe={airframe}
width={null}
height={null}
- premountFor={fps}
/>
)}
</Interactive.Div>
@@ -97,7 +92,6 @@ const AirportAircraftContent = ({
airframe={airframe}
width={null}
height={null}
- premountFor={fps}
/>
) : (
<OpenAirPlane
@@ -105,7 +99,6 @@ const AirportAircraftContent = ({
airframe={airframe}
width={null}
height={null}
- premountFor={fps}
/>
)}
</Interactive.Div>
diff --git a/packages/jonnys-videos/src/plane-sight/AirportLayout.tsx b/packages/jonnys-videos/src/plane-sight/AirportLayout.tsx
index 5178e36040..6de5afeb54 100644
--- a/packages/jonnys-videos/src/plane-sight/AirportLayout.tsx
+++ b/packages/jonnys-videos/src/plane-sight/AirportLayout.tsx
@@ -19,7 +19,6 @@ const AirportLayoutContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/airport/airport-terrain-v2.png'
}
- premountFor={fps}
style={{
position: 'absolute',
width: '100%',
diff --git a/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsx b/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsx
index cb7f47f1aa..ec6bb2273b 100644
--- a/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsx
+++ b/packages/jonnys-videos/src/plane-sight/AirportSignZoom.tsx
@@ -30,7 +30,6 @@ const AirportSignZoomContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/herdr-terminal-airport.png'
}
- premountFor={fps}
style={{
width: '100%',
height: '100%',
diff --git a/packages/jonnys-videos/src/plane-sight/Composition.tsx b/packages/jonnys-videos/src/plane-sight/Composition.tsx
index 928d42f2d7..f3af2a3836 100644
--- a/packages/jonnys-videos/src/plane-sight/Composition.tsx
+++ b/packages/jonnys-videos/src/plane-sight/Composition.tsx
@@ -11,38 +11,33 @@ export const PlaneSightPromo = () => {
<FiveAgentsIntro
name="Opening — five agents in Herdr"
durationInFrames={8.1 * fps}
- premountFor={fps}
/>
<AirportDemo
name="Airport — depart, work, return"
from={(344 / 30) * fps}
durationInFrames={(496 / 30) * fps}
- premountFor={fps}
/>
- <Series name="Promo scenes" layout="absolute-fill" premountFor={fps}>
+ <Series name="Promo scenes" layout="absolute-fill">
<Series.Sequence
name="Narration — through crucial"
trimBefore={(100 / 30) * fps}
durationInFrames={28 * fps}
- premountFor={fps}
>
- <PresenterNarration premountFor={fps} />
+ <PresenterNarration />
</Series.Sequence>
<Series.Sequence
name="Meet the flight crew"
trimBefore={0.7 * fps}
durationInFrames={9.2 * fps}
- premountFor={fps}
>
- <FlightCrewScene premountFor={fps} />
+ <FlightCrewScene />
</Series.Sequence>
<Series.Sequence
name="Narration — after flight crew"
trimBefore={(940 / 30) * fps}
durationInFrames={60.5 * fps}
- premountFor={fps}
>
- <PresenterNarration premountFor={fps} />
+ <PresenterNarration />
</Series.Sequence>
</Series>
</AbsoluteFill>
diff --git a/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsx b/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsx
index 966a5bc494..dcb9539901 100644
--- a/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsx
+++ b/packages/jonnys-videos/src/plane-sight/EightAgentsIntro.tsx
@@ -17,7 +17,6 @@ const EightAgentsIntroContent = ({style}: InteractiveTransformProps) => {
<AbsoluteFill style={style}>
<Interactive.Div
name="Screenshot focus window"
- premountFor={fps}
style={{
position: 'absolute',
top: 32,
@@ -53,7 +52,6 @@ const EightAgentsIntroContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/eight-agents-herdr-web.jpg'
}
- premountFor={fps}
style={{
position: 'absolute',
left: 0,
diff --git a/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsx b/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsx
index 172a5c5a50..6a00ce0226 100644
--- a/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsx
+++ b/packages/jonnys-videos/src/plane-sight/EntireCommitsBroll.tsx
@@ -22,7 +22,6 @@ const EntireCommitsBrollContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/entire-planesight-commits.png'
}
- premountFor={fps}
style={{
width: '100%',
height: '100%',
diff --git a/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsx b/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsx
index 3ece42864b..d7ea5a2e9c 100644
--- a/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsx
+++ b/packages/jonnys-videos/src/plane-sight/EntireTrailsOverlay.tsx
@@ -3,12 +3,9 @@ import {
CanvasImage,
Interactive,
type InteractiveTransformProps,
- useVideoConfig,
} from 'remotion';
const EntireTrailsOverlayContent = ({style}: InteractiveTransformProps) => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill style={style}>
<CanvasImage
@@ -16,7 +13,6 @@ const EntireTrailsOverlayContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/overlays/entire-trails.svg'
}
- premountFor={fps}
style={{
position: 'absolute',
left: 190,
diff --git a/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsx b/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsx
index a9d462a9e5..a58e401924 100644
--- a/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsx
+++ b/packages/jonnys-videos/src/plane-sight/FiveAgentDemo.tsx
@@ -47,7 +47,6 @@ const FiveAgentsIntroContent = ({style}: InteractiveTransformProps) => {
<AbsoluteFill style={{backgroundColor: '#000000', ...style}}>
<Interactive.Div
name="Focus on the five waiting sessions"
- premountFor={fps}
style={{
...screenStyle,
left: interpolate(frame, [0.9 * fps, 2.5 * fps], [32, 204], {
@@ -73,7 +72,6 @@ const FiveAgentsIntroContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agents-herdr.png'
}
- premountFor={fps}
style={{
position: 'absolute',
width: 944,
@@ -108,12 +106,10 @@ export const FiveAgentsIntro = Interactive.create({
});
const AirportOverviewContent = ({style}: InteractiveTransformProps) => {
- const {fps} = useVideoConfig();
return (
<AbsoluteFill style={style}>
<Interactive.Div
name="Five-agent airport overview"
- premountFor={fps}
style={fullscreenStyle}
>
<CanvasImage
@@ -121,7 +117,6 @@ const AirportOverviewContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'
}
- premountFor={fps}
style={fullscreenMediaStyle}
/>
</Interactive.Div>
@@ -139,14 +134,9 @@ const AirportDemoContent = ({style}: InteractiveTransformProps) => {
const frame = useCurrentFrame();
return (
<AbsoluteFill style={style}>
- <Interactive.Div
- name="Recorded airport demo"
- premountFor={fps}
- style={fullscreenStyle}
- >
+ <Interactive.Div name="Recorded airport demo" style={fullscreenStyle}>
<Interactive.Div
name="Agents taking off — zoom into the runway"
- premountFor={fps}
style={{
position: 'absolute',
inset: 0,
@@ -174,28 +164,21 @@ const AirportDemoContent = ({style}: InteractiveTransformProps) => {
),
}}
>
- <Series
- name="Airport action"
- layout="absolute-fill"
- premountFor={fps}
- >
+ <Series name="Airport action" layout="absolute-fill">
<Series.Sequence
name="Five agents in priority order"
durationInFrames={3.4 * fps}
- premountFor={fps}
>
<CanvasImage
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'
}
- premountFor={fps}
style={fullscreenMediaStyle}
/>
</Series.Sequence>
<Series.Sequence
name="Send an agent off — source 00:26.5"
durationInFrames={2.3 * fps}
- premountFor={fps}
>
<Video
src={
@@ -204,27 +187,23 @@ const AirportDemoContent = ({style}: InteractiveTransformProps) => {
trimBefore={26.5 * fps}
muted
objectFit="cover"
- premountFor={fps}
style={fullscreenMediaStyle}
/>
</Series.Sequence>
<Series.Sequence
name="Working agent is hidden"
durationInFrames={(10 / 30) * fps}
- premountFor={fps}
>
<CanvasImage
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/four-agents-airport.png'
}
- premountFor={fps}
style={fullscreenMediaStyle}
/>
</Series.Sequence>
<Series.Sequence
name="Agent returns to the queue — source 00:38.5"
durationInFrames={4.1 * fps}
- premountFor={fps}
>
<Video
src={
@@ -233,20 +212,17 @@ const AirportDemoContent = ({style}: InteractiveTransformProps) => {
trimBefore={38.5 * fps}
muted
objectFit="cover"
- premountFor={fps}
style={fullscreenMediaStyle}
/>
</Series.Sequence>
<Series.Sequence
name="Hold the airport for the turnaround line"
durationInFrames={6.4 * fps}
- premountFor={fps}
>
<CanvasImage
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport-returned.png'
}
- premountFor={fps}
style={fullscreenMediaStyle}
/>
</Series.Sequence>
diff --git a/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsx b/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsx
index 171fc20f3a..213535d48b 100644
--- a/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsx
+++ b/packages/jonnys-videos/src/plane-sight/FlightCrewScene.tsx
@@ -21,7 +21,6 @@ const FlightCrewSceneContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/audio/flight-crew-normalized.wav'
}
- premountFor={fps}
/>
<Video
name="Flight crew footage"
@@ -29,7 +28,6 @@ const FlightCrewSceneContent = ({style}: InteractiveTransformProps) => {
'https://remotion.media/jonnys-videos/plane-sight/scenes/team-scene.mp4'
}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
@@ -40,7 +38,6 @@ const FlightCrewSceneContent = ({style}: InteractiveTransformProps) => {
}
from={(266 / 30) * fps}
durationInFrames={(31 / 30) * fps}
- premountFor={fps}
style={{
position: 'absolute',
left: 264,
@@ -70,7 +67,6 @@ const FlightCrewSceneContent = ({style}: InteractiveTransformProps) => {
/>
<BasicCaptions
name="Flight crew captions"
- premountFor={fps}
width={1280}
combineTokensWithinMilliseconds={2200}
style={{
diff --git a/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsx b/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsx
index 2e3d9adf41..23b15573d4 100644
--- a/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsx
+++ b/packages/jonnys-videos/src/plane-sight/FrontOfLineZoom.tsx
@@ -20,7 +20,6 @@ const FrontOfLineZoomContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'
}
- premountFor={fps}
style={{
width: '100%',
height: '100%',
diff --git a/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsx b/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsx
index d8d68aecf5..5594c0e966 100644
--- a/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsx
+++ b/packages/jonnys-videos/src/plane-sight/GeminiTowerScene.tsx
@@ -24,7 +24,6 @@ const GeminiTowerSceneContent = ({style}: InteractiveTransformProps) => {
<AbsoluteFill style={{backgroundColor: '#ffffff', ...style}}>
<Interactive.Div
name="Close-up of Gemini in the control tower"
- premountFor={fps}
style={{
position: 'absolute',
inset: 0,
@@ -34,24 +33,21 @@ const GeminiTowerSceneContent = ({style}: InteractiveTransformProps) => {
backgroundColor: '#6d9b57',
}}
>
- <Series name="Tower hover" layout="absolute-fill" premountFor={fps}>
+ <Series name="Tower hover" layout="absolute-fill">
<Series.Sequence
name="Establish the control tower"
durationInFrames={2 * fps}
- premountFor={fps}
>
<CanvasImage
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/gemini-tower-before-hover.png'
}
- premountFor={fps}
style={mediaStyle}
/>
</Series.Sequence>
<Series.Sequence
name="Reveal Gemini on the spoken name"
durationInFrames={3 * fps}
- premountFor={fps}
>
<Video
src={
@@ -60,20 +56,17 @@ const GeminiTowerSceneContent = ({style}: InteractiveTransformProps) => {
trimBefore={0}
muted
objectFit="cover"
- premountFor={fps}
style={mediaStyle}
/>
</Series.Sequence>
<Series.Sequence
name="Hold Gemini's card through the priority explanation"
durationInFrames={(224 / 30) * fps}
- premountFor={fps}
>
<CanvasImage
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/gemini-tower-hover.png'
}
- premountFor={fps}
style={mediaStyle}
/>
</Series.Sequence>
diff --git a/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsx b/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsx
index 78c58b43b0..2daddb943a 100644
--- a/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsx
+++ b/packages/jonnys-videos/src/plane-sight/HerdrGroundControl.tsx
@@ -21,7 +21,6 @@ const HerdrGroundControlContent = ({style}: InteractiveTransformProps) => {
playbackRate={1.25}
muted
objectFit="cover"
- premountFor={fps}
style={{width: '100%', height: '100%'}}
/>
</AbsoluteFill>
diff --git a/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsx b/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsx
index 5827b536e3..6e278028a5 100644
--- a/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsx
+++ b/packages/jonnys-videos/src/plane-sight/PixelAirlines.tsx
@@ -3,7 +3,6 @@ import {
type InteractiveTransformProps,
CanvasImage,
Interactive,
- useVideoConfig,
} from 'remotion';
export type AircraftAirframe = 'narrowbody' | 'widebody';
@@ -20,8 +19,6 @@ const CloudCodePlaneContent = ({
height,
style,
}: PlaneProps) => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill
style={{width: width ?? '100%', height: height ?? '100%', ...style}}
@@ -33,7 +30,6 @@ const CloudCodePlaneContent = ({
? 'https://remotion.media/jonnys-videos/plane-sight/airlines/cloud-code-widebody-orange.png'
: 'https://remotion.media/jonnys-videos/plane-sight/airlines/cloud-code-narrowbody-orange.png'
}
- premountFor={fps}
style={{
position: 'absolute',
width: '100%',
@@ -60,8 +56,6 @@ export const CloudCodePlane = Interactive.create({
});
const OpenAirPlaneContent = ({airframe, width, height, style}: PlaneProps) => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill
style={{width: width ?? '100%', height: height ?? '100%', ...style}}
@@ -73,7 +67,6 @@ const OpenAirPlaneContent = ({airframe, width, height, style}: PlaneProps) => {
? 'https://remotion.media/jonnys-videos/plane-sight/airlines/openair-widebody.png'
: 'https://remotion.media/jonnys-videos/plane-sight/airlines/openair-plane-top-down.png'
}
- premountFor={fps}
style={{
position: 'absolute',
width: '100%',
@@ -100,14 +93,11 @@ export const OpenAirPlane = Interactive.create({
});
export const PixelAirlines = () => {
- const {fps} = useVideoConfig();
-
return (
<>
<CloudCodePlane
name="Cloud Code narrowbody"
airframe="narrowbody"
- premountFor={fps}
width={250}
height={250}
style={{position: 'absolute', left: 195, top: 40}}
@@ -115,7 +105,6 @@ export const PixelAirlines = () => {
<OpenAirPlane
name="OpenAir narrowbody"
airframe="narrowbody"
- premountFor={fps}
width={250}
height={250}
style={{position: 'absolute', left: 835, top: 40}}
@@ -155,7 +144,6 @@ export const PixelAirlines = () => {
<CloudCodePlane
name="Cloud Code widebody"
airframe="widebody"
- premountFor={fps}
width={300}
height={300}
style={{position: 'absolute', left: 170, top: 365}}
@@ -163,7 +151,6 @@ export const PixelAirlines = () => {
<OpenAirPlane
name="OpenAir widebody"
airframe="widebody"
- premountFor={fps}
width={300}
height={300}
style={{position: 'absolute', left: 810, top: 365}}
diff --git a/packages/jonnys-videos/src/plane-sight/PixelAirport.tsx b/packages/jonnys-videos/src/plane-sight/PixelAirport.tsx
index c0956a6b01..81fdf750b7 100644
--- a/packages/jonnys-videos/src/plane-sight/PixelAirport.tsx
+++ b/packages/jonnys-videos/src/plane-sight/PixelAirport.tsx
@@ -16,10 +16,7 @@ const AirportTraffic = () => {
const {fps} = useVideoConfig();
return (
<>
- <AirportLayout
- name="Airport with north and south angled taxiways"
- premountFor={fps}
- />
+ <AirportLayout name="Airport with north and south angled taxiways" />
<AirportAircraft
name="Cloud Code — urgent priority"
airline="Cloud Code"
@@ -57,7 +54,6 @@ const AirportTraffic = () => {
[0, 1, 1, 0.2, 0],
{extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
)}
- premountFor={fps}
width={192}
height={332}
heading={interpolate(
@@ -174,7 +170,6 @@ const AirportTraffic = () => {
[0, 1, 1, 0.2, 0],
{extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
)}
- premountFor={fps}
width={192}
height={332}
heading={interpolate(
@@ -290,7 +285,6 @@ const AirportTraffic = () => {
[0, 1, 1, 0.2, 0],
{extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
)}
- premountFor={fps}
width={192}
height={332}
heading={interpolate(
@@ -402,7 +396,6 @@ const AirportTraffic = () => {
[0, 1, 1, 0.2, 0],
{extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
)}
- premountFor={fps}
width={192}
height={332}
heading={interpolate(
@@ -512,7 +505,6 @@ const AirportTraffic = () => {
[0, 1, 1, 0.2, 0],
{extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
)}
- premountFor={fps}
width={192}
height={332}
heading={interpolate(
@@ -618,7 +610,6 @@ const AirportTraffic = () => {
[0, 1, 1, 0.2, 0],
{extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
)}
- premountFor={fps}
width={192}
height={332}
heading={interpolate(
@@ -700,8 +691,6 @@ const AirportTraffic = () => {
};
const PixelAirportContent = ({style}: InteractiveTransformProps) => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill style={style}>
<Interactive.Div
@@ -710,7 +699,6 @@ const PixelAirportContent = ({style}: InteractiveTransformProps) => {
/>
<Interactive.Div
name="Airfield below entrance sign"
- premountFor={fps}
style={{
position: 'absolute',
left: 128,
@@ -728,7 +716,6 @@ const PixelAirportContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/branding/agent-airport-international.png'
}
- premountFor={fps}
style={{
position: 'absolute',
left: 360,
diff --git a/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsx b/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsx
index a26c54bb20..bea69c5855 100644
--- a/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsx
+++ b/packages/jonnys-videos/src/plane-sight/PlaneSightLogo.tsx
@@ -19,7 +19,6 @@ const PlaneSightLogoContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/branding/plane-sight-logo.png'
}
- premountFor={fps}
style={{
position: 'absolute',
left: 220,
diff --git a/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsx b/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsx
index cdb62a1d97..22148f74cd 100644
--- a/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsx
+++ b/packages/jonnys-videos/src/plane-sight/PresenterNarration.tsx
@@ -35,13 +35,11 @@ const PresenterNarrationContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/audio/presenter-normalized.wav'
}
- premountFor={fps}
/>
<AirportOverview
name="Airport — control tower and priority queue"
from={35.2 * fps}
durationInFrames={40 * fps}
- premountFor={fps}
/>
<CanvasImage
name="Airport after the Herdr handoff"
@@ -50,7 +48,6 @@ const PresenterNarrationContent = ({style}: InteractiveTransformProps) => {
}
from={Math.round((1997 / 30) * fps)}
durationInFrames={(758 / 30) * fps}
- premountFor={fps}
style={{
position: 'absolute',
inset: 0,
@@ -63,61 +60,51 @@ const PresenterNarrationContent = ({style}: InteractiveTransformProps) => {
name="Gemini — control tower hover"
from={(1588 / 30) * fps}
durationInFrames={(157 / 30) * fps}
- premountFor={fps}
/>
<HerdrGroundControl
name="Herdr — send and return to the airport automatically"
from={(1745 / 30) * fps}
durationInFrames={(252 / 30) * fps}
- premountFor={fps}
/>
<TaxiwayDependencies
name="Identifies dependencies — zoom into taxiway"
from={(1412 / 30) * fps}
durationInFrames={(176 / 30) * fps}
- premountFor={fps}
/>
<FrontOfLineZoom
name="In front of the line — priority-one plane"
from={Math.round((1321 / 30) * fps)}
durationInFrames={Math.round((91 / 30) * fps)}
- premountFor={fps}
/>
<AirportSignZoom
name="Agent Airport International — zoom into sign"
from={(2018 / 30) * fps}
durationInFrames={Math.round((69 / 30) * fps)}
- premountFor={fps}
/>
<EntireCommitsBroll
name="Operated by Entire — PlaneSight commit history"
from={Math.round((2087 / 30) * fps)}
durationInFrames={Math.round((169 / 30) * fps)}
- premountFor={fps}
/>
<TowerZoom
name="Air traffic controller — tower introduction"
from={Math.round((994 / 30) * fps)}
durationInFrames={Math.round((62 / 30) * fps)}
afterHerdr={false}
- premountFor={fps}
/>
<TowerZoom
name="Air traffic controller — tower callback"
from={Math.round((2529 / 30) * fps)}
durationInFrames={Math.round((62 / 30) * fps)}
afterHerdr
- premountFor={fps}
/>
<FiveAgentsIntro
name="Closing — five agents in Herdr"
from={75.2 * fps}
durationInFrames={8.1 * fps}
- premountFor={fps}
/>
<Interactive.Div
name="Presenter circle"
- premountFor={fps}
style={{
position: 'absolute',
top: 32,
@@ -135,7 +122,6 @@ const PresenterNarrationContent = ({style}: InteractiveTransformProps) => {
'https://remotion.media/jonnys-videos/plane-sight/webcam1791640657618.mp4'
}
muted
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -149,30 +135,25 @@ const PresenterNarrationContent = ({style}: InteractiveTransformProps) => {
name="Plane Sight introduction"
from={(362 / 30) * fps}
durationInFrames={(82 / 30) * fps}
- premountFor={fps}
/>
<PlaneSightLogo
name="Plane Sight air traffic controller"
from={(946 / 30) * fps}
durationInFrames={(48 / 30) * fps}
- premountFor={fps}
/>
<PlaneSightLogo
name="Plane Sight closing — logo only"
from={(2728 / 30) * fps}
durationInFrames={(27 / 30) * fps}
- premountFor={fps}
style={{backgroundColor: '#ffffff', zIndex: 10}}
/>
<EntireTrailsOverlay
name="Entire Trails wink — 1.5 seconds on trails"
from={Math.round((679 / 30) * fps)}
durationInFrames={1.5 * fps}
- premountFor={fps}
/>
<BasicCaptions
name="Speech captions"
- premountFor={fps}
width={showingHerdr ? 1120 : 1280}
combineTokensWithinMilliseconds={5000}
style={{
diff --git a/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsx b/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsx
index 29750d2d7a..f9a3601b03 100644
--- a/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsx
+++ b/packages/jonnys-videos/src/plane-sight/TaxiwayDependencies.tsx
@@ -20,7 +20,6 @@ const TaxiwayDependenciesContent = ({style}: InteractiveTransformProps) => {
src={
'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'
}
- premountFor={fps}
style={{
width: '100%',
height: '100%',
diff --git a/packages/jonnys-videos/src/plane-sight/TowerZoom.tsx b/packages/jonnys-videos/src/plane-sight/TowerZoom.tsx
index 67c9be0a4d..28206a1072 100644
--- a/packages/jonnys-videos/src/plane-sight/TowerZoom.tsx
+++ b/packages/jonnys-videos/src/plane-sight/TowerZoom.tsx
@@ -27,7 +27,6 @@ const TowerZoomContent = ({style, afterHerdr}: TowerZoomProps) => {
? 'https://remotion.media/jonnys-videos/plane-sight/screenshots/herdr-terminal-airport.png'
: 'https://remotion.media/jonnys-videos/plane-sight/screenshots/five-agent-airport.png'
}
- premountFor={fps}
style={{
width: '100%',
height: '100%',
diff --git a/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx b/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx
index d6d04cbf39..50473a7922 100644
--- a/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/RollerSkiCommute.tsx
@@ -3,13 +3,7 @@ import {linearTiming, TransitionSeries} from '@remotion/transitions';
import {fade} from '@remotion/transitions/fade';
import {pushCut} from '@remotion/transitions/push-cut';
import React from 'react';
-import {
- Interactive,
- Track,
- interpolate,
- useCurrentFrame,
- useVideoConfig,
-} from 'remotion';
+import {Interactive, Track, interpolate, useCurrentFrame} from 'remotion';
import {LightLeakOverlay} from './elements/LightLeakOverlay';
import {Arrival} from './scenes/Arrival';
import {BestCommute} from './scenes/BestCommute';
@@ -23,91 +17,50 @@ import {TheDecline} from './scenes/TheDecline';
import {Uphill} from './scenes/Uphill';
const RollerSkiCommuteInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<TransitionSeries name="Roller ski commute">
- <TransitionSeries.Sequence
- name="Intro"
- durationInFrames={529}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Intro" durationInFrames={529}>
<Intro />
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="Gear up"
- durationInFrames={332}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Gear up" durationInFrames={332}>
<GearUp />
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="Off we go"
- durationInFrames={108}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Off we go" durationInFrames={108}>
<OffWeGo />
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="Uphill"
- durationInFrames={1517}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Uphill" durationInFrames={1517}>
<Uphill />
</TransitionSeries.Sequence>
- <TransitionSeries.Overlay durationInFrames={40} premountFor={fps}>
+ <TransitionSeries.Overlay durationInFrames={40}>
<LightLeakOverlay />
</TransitionSeries.Overlay>
- <TransitionSeries.Sequence
- name="Best commute"
- durationInFrames={512}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Best commute" durationInFrames={512}>
<BestCommute />
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="The decline"
- durationInFrames={1054}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="The decline" durationInFrames={1054}>
<TheDecline />
</TransitionSeries.Sequence>
<TransitionSeries.Transition
presentation={pushCut()}
timing={linearTiming({durationInFrames: 10})}
/>
- <TransitionSeries.Sequence
- name="Ride montage"
- durationInFrames={221}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Ride montage" durationInFrames={221}>
<RideMontage />
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="Arrival"
- durationInFrames={426}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Arrival" durationInFrames={426}>
<Arrival />
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="Office"
- durationInFrames={1081}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Office" durationInFrames={1081}>
<Office />
</TransitionSeries.Sequence>
<TransitionSeries.Transition
presentation={fade()}
timing={linearTiming({durationInFrames: 20})}
/>
- <TransitionSeries.Sequence
- name="End card"
- durationInFrames={120}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="End card" durationInFrames={120}>
<EndCard />
</TransitionSeries.Sequence>
</TransitionSeries>
@@ -119,7 +72,6 @@ const RollerSkiCommuteInner: React.FC = () => {
}
trimBefore={1207}
durationInFrames={4042}
- premountFor={fps}
volume={interpolate(
frame,
[
@@ -143,7 +95,6 @@ const RollerSkiCommuteInner: React.FC = () => {
from={4042}
trimBefore={3468}
durationInFrames={1708}
- premountFor={fps}
volume={interpolate(
frame,
[4042, 4046, 4392, 4404, 4689, 4699, 5740, 5750],
@@ -159,7 +110,6 @@ const RollerSkiCommuteInner: React.FC = () => {
from={5750}
trimBefore={6067}
durationInFrames={120}
- premountFor={fps}
volume={interpolate(
frame,
[5750, 5762, 5840, 5870],
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 accd28209f..41326dfee9 100644
--- a/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/elements/LightLeakOverlay.tsx
@@ -10,14 +10,13 @@ import {
const LightLeakOverlayInner: React.FC = () => {
const frame = useCurrentFrame();
- const {durationInFrames, fps, height, width} = useVideoConfig();
+ const {durationInFrames, height, width} = useVideoConfig();
return (
<Solid
name="Light leak"
width={width}
height={height}
- premountFor={fps}
effects={[
lightLeak({
seed: 3,
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 0bf6bf6b1c..36ab1dfc89 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Arrival.tsx
@@ -6,13 +6,11 @@ import {
interpolate,
Series,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {LocationLowerThird} from '../elements/LocationLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const ArrivalInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -22,7 +20,6 @@ const ArrivalInner: React.FC = () => {
name="Low angle"
trimBefore={75}
durationInFrames={135}
- premountFor={fps}
>
<Video
name="IMG_0471"
@@ -30,7 +27,6 @@ const ArrivalInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0471.mp4'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -39,7 +35,6 @@ const ArrivalInner: React.FC = () => {
name="Remotion headquarters"
trimBefore={98}
durationInFrames={124}
- premountFor={fps}
>
<Video
name="IMG_0472"
@@ -47,7 +42,6 @@ const ArrivalInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0472.mp4'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -63,7 +57,6 @@ const ArrivalInner: React.FC = () => {
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -116,7 +109,6 @@ const ArrivalInner: React.FC = () => {
name="Here we are"
trimBefore={60}
durationInFrames={50}
- premountFor={fps}
>
<Video
name="IMG_0474"
@@ -124,14 +116,12 @@ const ArrivalInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0474.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -163,7 +153,6 @@ const ArrivalInner: React.FC = () => {
name="Mehmet is working"
trimBefore={125}
durationInFrames={117}
- premountFor={fps}
>
<Video
name="IMG_0474"
@@ -171,14 +160,12 @@ const ArrivalInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0474.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -232,7 +219,6 @@ const ArrivalInner: React.FC = () => {
name="Location"
from={15}
durationInFrames={244}
- premountFor={fps}
location="Remotion HQ"
time="08:52"
accentColor="#2563eb"
@@ -243,7 +229,6 @@ const ArrivalInner: React.FC = () => {
src="https://remotion.media/whoosh.wav"
from={13}
volume={0.4}
- premountFor={fps}
/>
</>
);
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 127f974390..58a497e04e 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/BestCommute.tsx
@@ -7,38 +7,29 @@ import {
Series,
Track,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {AwardBadge} from '../elements/AwardBadge';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const BestCommuteInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Series>
- <Series.Sequence
- name="Tech bros"
- trimBefore={47}
- durationInFrames={87}
- premountFor={fps}
- >
+ <Series.Sequence name="Tech bros" trimBefore={47} durationInFrames={87}>
<Video
name="IMG_0463"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
}
volume={0.83}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -119,7 +110,6 @@ const BestCommuteInner: React.FC = () => {
name="Best commute"
trimBefore={170}
durationInFrames={112}
- premountFor={fps}
>
<Video
name="IMG_0463"
@@ -127,7 +117,6 @@ const BestCommuteInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
}
volume={0.83}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -139,14 +128,12 @@ const BestCommuteInner: React.FC = () => {
from={170}
trimBefore={9}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -213,7 +200,6 @@ const BestCommuteInner: React.FC = () => {
name="Chickens cows mountains"
trimBefore={302}
durationInFrames={154}
- premountFor={fps}
>
<Video
name="IMG_0463"
@@ -221,7 +207,6 @@ const BestCommuteInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
}
volume={0.83}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -235,7 +220,6 @@ const BestCommuteInner: React.FC = () => {
durationInFrames={37}
trimBefore={219}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
@@ -248,7 +232,6 @@ const BestCommuteInner: React.FC = () => {
durationInFrames={30}
trimBefore={1794}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
@@ -260,7 +243,6 @@ const BestCommuteInner: React.FC = () => {
from={414}
trimBefore={6}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
@@ -268,7 +250,6 @@ const BestCommuteInner: React.FC = () => {
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -314,7 +295,6 @@ const BestCommuteInner: React.FC = () => {
name="Roller skis"
trimBefore={456}
durationInFrames={65}
- premountFor={fps}
>
<Video
name="IMG_0463"
@@ -322,7 +302,6 @@ const BestCommuteInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
}
volume={0.83}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -334,14 +313,12 @@ const BestCommuteInner: React.FC = () => {
from={456}
trimBefore={609}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -401,7 +378,6 @@ const BestCommuteInner: React.FC = () => {
name="Best commute goes to Jonny"
trimBefore={534}
durationInFrames={94}
- premountFor={fps}
>
<Video
name="IMG_0463"
@@ -409,7 +385,6 @@ const BestCommuteInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0463.MOV'
}
volume={0.83}
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -426,7 +401,6 @@ const BestCommuteInner: React.FC = () => {
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -494,7 +468,6 @@ const BestCommuteInner: React.FC = () => {
name="Award"
from={445}
durationInFrames={67}
- premountFor={fps}
award="Best commute"
winner="Jonny"
style={{position: 'absolute', right: 80, top: 70}}
@@ -504,7 +477,6 @@ const BestCommuteInner: React.FC = () => {
src="https://remotion.media/whoosh.wav"
from={445}
volume={0.5}
- premountFor={fps}
/>
</>
);
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 e1be902bcd..0c4ac7ee1c 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/EndCard.tsx
@@ -7,24 +7,21 @@ import {
interpolate,
Sequence,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {fontFamily} from '../elements/font';
const EndCardInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
- <Sequence name="Last frame" freeze={3328} premountFor={fps}>
+ <Sequence name="Last frame" freeze={3328}>
<Video
name="IMG_0475"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
muted
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -124,7 +121,6 @@ const EndCardInner: React.FC = () => {
src="https://remotion.media/whoosh.wav"
from={12}
volume={0.6}
- premountFor={fps}
/>
</>
);
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 1fa9aeaaf8..803739ac0e 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/GearUp.tsx
@@ -1,13 +1,11 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {AbsoluteFill, Interactive, Series, useVideoConfig} from 'remotion';
+import {AbsoluteFill, Interactive, Series} from 'remotion';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
import {SpeedBadge} from '../elements/SpeedBadge';
import {TitleCard} from '../elements/TitleCard';
const GearUpInner: React.FC = () => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill showInTimeline={false} style={{backgroundColor: 'black'}}>
<Series>
@@ -16,7 +14,6 @@ const GearUpInner: React.FC = () => {
trimBefore={60}
durationInFrames={528}
playbackRate={6}
- premountFor={fps}
>
<Video
name="IMG_0457"
@@ -24,31 +21,23 @@ const GearUpInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'
}
muted
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
</Series.Sequence>
- <Series.Sequence
- name="Damn it"
- trimBefore={591}
- durationInFrames={39}
- premountFor={fps}
- >
+ <Series.Sequence name="Damn it" trimBefore={591} durationInFrames={39}>
<Video
name="IMG_0457"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'
}
volume={4}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -67,7 +56,6 @@ const GearUpInner: React.FC = () => {
trimBefore={630}
durationInFrames={576}
playbackRate={12}
- premountFor={fps}
>
<Video
name="IMG_0457"
@@ -75,7 +63,6 @@ const GearUpInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'
}
muted
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -84,7 +71,6 @@ const GearUpInner: React.FC = () => {
name="Lets get to work"
trimBefore={1202}
durationInFrames={58}
- premountFor={fps}
>
<Video
name="IMG_0457"
@@ -92,14 +78,12 @@ const GearUpInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'
}
volume={3.5}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -146,7 +130,6 @@ const GearUpInner: React.FC = () => {
trimBefore={1260}
durationInFrames={150}
playbackRate={2}
- premountFor={fps}
>
<Video
name="IMG_0457"
@@ -154,7 +137,6 @@ const GearUpInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0457.MOV'
}
muted
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -163,7 +145,6 @@ const GearUpInner: React.FC = () => {
<TitleCard
name="Title"
durationInFrames={84}
- premountFor={fps}
line1="Roller ski"
line2="Commute"
kicker="Zürich · 8 AM"
@@ -173,7 +154,6 @@ const GearUpInner: React.FC = () => {
name="6x badge"
from={6}
durationInFrames={82}
- premountFor={fps}
speed="6×"
style={{position: 'absolute', right: 80, top: 70}}
/>
@@ -181,7 +161,6 @@ const GearUpInner: React.FC = () => {
name="8x badge"
from={127}
durationInFrames={72}
- premountFor={fps}
speed={'12x'}
style={{position: 'absolute', right: 80, top: 70}}
/>
@@ -189,7 +168,6 @@ const GearUpInner: React.FC = () => {
name="2x badge"
from={257}
durationInFrames={75}
- premountFor={fps}
speed="2×"
style={{position: 'absolute', right: 80, top: 70}}
/>
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 fbc9d6be64..833907404a 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Intro.tsx
@@ -6,13 +6,11 @@ import {
interpolate,
Series,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {LocationLowerThird} from '../elements/LocationLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const IntroInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -22,7 +20,6 @@ const IntroInner: React.FC = () => {
name="Good morning"
trimBefore={45}
durationInFrames={239}
- premountFor={fps}
>
<Video
name="IMG_0455"
@@ -30,14 +27,12 @@ const IntroInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0455.mp4'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -167,7 +162,6 @@ const IntroInner: React.FC = () => {
name="Roller skis"
trimBefore={312}
durationInFrames={290}
- premountFor={fps}
>
<Video
name="IMG_0455"
@@ -175,7 +169,6 @@ const IntroInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0455.mp4'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -191,7 +184,6 @@ const IntroInner: React.FC = () => {
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -336,7 +328,6 @@ const IntroInner: React.FC = () => {
name="Location"
from={81}
durationInFrames={110}
- premountFor={fps}
location="Zürich, Switzerland"
time="08:07"
accentColor="#2563eb"
@@ -347,7 +338,6 @@ const IntroInner: React.FC = () => {
src="https://remotion.media/whoosh.wav"
from={521}
volume={0.6}
- premountFor={fps}
/>
</>
);
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 6b2ca6da5c..03627d23cd 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/OffWeGo.tsx
@@ -1,10 +1,8 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Interactive, Series, useVideoConfig} from 'remotion';
+import {Interactive, Series} from 'remotion';
const OffWeGoInner: React.FC = () => {
- const {fps} = useVideoConfig();
-
return (
<>
<Series>
@@ -12,7 +10,6 @@ const OffWeGoInner: React.FC = () => {
name="Skiing away"
trimBefore={486}
durationInFrames={108}
- premountFor={fps}
>
<Video
name="IMG_0458"
@@ -20,7 +17,6 @@ const OffWeGoInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0458.mp4'
}
volume={1.5}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
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 6f370d7492..241d39be7d 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Office.tsx
@@ -1,36 +1,27 @@
import {Audio, Video} from '@remotion/media';
import React from 'react';
-import {Interactive, Series, useVideoConfig} from 'remotion';
+import {Interactive, Series} from 'remotion';
import {Callout} from '../elements/Callout';
import {NameLowerThird} from '../elements/NameLowerThird';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const OfficeInner: React.FC = () => {
- const {fps} = useVideoConfig();
-
return (
<>
<Series>
- <Series.Sequence
- name="Mehmet"
- trimBefore={1324}
- durationInFrames={38}
- premountFor={fps}
- >
+ <Series.Sequence name="Mehmet" trimBefore={1324} durationInFrames={38}>
<Video
name="IMG_0475"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -48,7 +39,6 @@ const OfficeInner: React.FC = () => {
name="Would you try it"
trimBefore={1378}
durationInFrames={32}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -56,14 +46,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -102,7 +90,6 @@ const OfficeInner: React.FC = () => {
name="Scared to be honest"
trimBefore={1502}
durationInFrames={244}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -110,14 +97,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={4.5}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -268,7 +253,6 @@ const OfficeInner: React.FC = () => {
name="No brakes"
trimBefore={1844}
durationInFrames={51}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -276,14 +260,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -329,7 +311,6 @@ const OfficeInner: React.FC = () => {
name="Brake tomorrow"
trimBefore={2346}
durationInFrames={209}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -337,14 +318,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -474,7 +453,6 @@ const OfficeInner: React.FC = () => {
name="Rolls on one side"
trimBefore={2771}
durationInFrames={183}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -482,14 +460,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -619,7 +595,6 @@ const OfficeInner: React.FC = () => {
name="Go up a hill"
trimBefore={2957}
durationInFrames={246}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -627,14 +602,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={1}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -792,7 +765,6 @@ const OfficeInner: React.FC = () => {
name="Yeah I see"
trimBefore={3254}
durationInFrames={78}
- premountFor={fps}
>
<Video
name="IMG_0475"
@@ -800,14 +772,12 @@ const OfficeInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0475.MOV'
}
volume={2.5}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -882,7 +852,6 @@ const OfficeInner: React.FC = () => {
name="Mehmet"
from={6}
durationInFrames={284}
- premountFor={fps}
personName="Mehmet"
title="Already at work"
accentColor="#2563eb"
@@ -892,7 +861,6 @@ const OfficeInner: React.FC = () => {
name="Confirmed callout"
from={314}
durationInFrames={101}
- premountFor={fps}
label="Confirmed"
text="Still no brakes"
icon="cross"
@@ -904,7 +872,6 @@ const OfficeInner: React.FC = () => {
src="https://remotion.media/windows-xp-error.wav"
from={316}
volume={0.35}
- premountFor={fps}
/>
</>
);
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 6777931350..cec83319a1 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/RideMontage.tsx
@@ -1,10 +1,8 @@
import {Audio, Video} from '@remotion/media';
import React from 'react';
-import {Interactive, Series, useVideoConfig} from 'remotion';
+import {Interactive, Series} from 'remotion';
const RideMontageInner: React.FC = () => {
- const {fps} = useVideoConfig();
-
return (
<>
<Series>
@@ -13,7 +11,6 @@ const RideMontageInner: React.FC = () => {
trimBefore={99}
durationInFrames={145}
playbackRate={1.25}
- premountFor={fps}
>
<Video
name="IMG_0466"
@@ -21,7 +18,6 @@ const RideMontageInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0466.mp4'
}
volume={0.4}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -30,7 +26,6 @@ const RideMontageInner: React.FC = () => {
name="Pass-by"
trimBefore={1422}
durationInFrames={105}
- premountFor={fps}
>
<Video
name="IMG_0458"
@@ -38,7 +33,6 @@ const RideMontageInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis-new/footage/IMG_0458.mp4'
}
volume={1.5}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -49,7 +43,6 @@ const RideMontageInner: React.FC = () => {
src="https://remotion.media/whoosh.wav"
from={0}
volume={0.5}
- premountFor={fps}
/>
</>
);
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 253ed20ac2..aaf9beb900 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/TheDecline.tsx
@@ -6,13 +6,11 @@ import {
interpolate,
Series,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {Callout} from '../elements/Callout';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const TheDeclineInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
@@ -22,7 +20,6 @@ const TheDeclineInner: React.FC = () => {
name="Standing on top"
trimBefore={30}
durationInFrames={68}
- premountFor={fps}
>
<Video
name="IMG_0464"
@@ -30,14 +27,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'
}
volume={0.87}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -90,7 +85,6 @@ const TheDeclineInner: React.FC = () => {
name="Small decline"
trimBefore={113}
durationInFrames={83}
- premountFor={fps}
>
<Video
name="IMG_0464"
@@ -98,14 +92,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'
}
volume={0.87}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -186,7 +178,6 @@ const TheDeclineInner: React.FC = () => {
name="Problems with roller skis"
trimBefore={257}
durationInFrames={93}
- premountFor={fps}
>
<Video
name="IMG_0464"
@@ -194,14 +185,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'
}
volume={0.87}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -271,19 +260,13 @@ const TheDeclineInner: React.FC = () => {
]}
/>
</Series.Sequence>
- <Series.Sequence
- name="Freeze"
- durationInFrames={39}
- freeze={349}
- premountFor={fps}
- >
+ <Series.Sequence name="Freeze" durationInFrames={39} freeze={349}>
<Video
name="IMG_0464"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0464.MOV'
}
muted
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -302,7 +285,6 @@ const TheDeclineInner: React.FC = () => {
name="Stopped filming"
trimBefore={22}
durationInFrames={113}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -310,14 +292,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -405,7 +385,6 @@ const TheDeclineInner: React.FC = () => {
name="Kindergarten kids"
trimBefore={151}
durationInFrames={51}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -413,14 +392,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -466,7 +443,6 @@ const TheDeclineInner: React.FC = () => {
name="Did not want to"
trimBefore={221}
durationInFrames={23}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -474,14 +450,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -520,7 +494,6 @@ const TheDeclineInner: React.FC = () => {
name="Film with them around"
trimBefore={261}
durationInFrames={115}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -528,14 +501,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -651,7 +622,6 @@ const TheDeclineInner: React.FC = () => {
name="And falling"
trimBefore={392}
durationInFrames={34}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -659,14 +629,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -691,7 +659,6 @@ const TheDeclineInner: React.FC = () => {
name="Down this decline"
trimBefore={446}
durationInFrames={63}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -699,14 +666,12 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -738,7 +703,6 @@ const TheDeclineInner: React.FC = () => {
name="How it went"
trimBefore={548}
durationInFrames={372}
- premountFor={fps}
>
<Video
name="IMG_0465"
@@ -746,7 +710,6 @@ const TheDeclineInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0465.MOV'
}
volume={0.85}
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -767,7 +730,6 @@ const TheDeclineInner: React.FC = () => {
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -1024,7 +986,6 @@ const TheDeclineInner: React.FC = () => {
name="Problem callout"
from={244}
durationInFrames={152}
- premountFor={fps}
label="Problem"
text="No brakes"
icon="warning"
@@ -1036,7 +997,6 @@ const TheDeclineInner: React.FC = () => {
src="https://remotion.media/record-scratch.wav"
from={244}
volume={0.6}
- premountFor={fps}
/>
</>
);
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 d7aa0f8f95..c3e53ccc6d 100644
--- a/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
+++ b/packages/jonnys-videos/src/roller-skis-new/scenes/Uphill.tsx
@@ -6,38 +6,29 @@ import {
interpolate,
Series,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {Callout} from '../elements/Callout';
import {PoppingWordCaptions} from '../elements/popping-word-captions';
const UphillInner: React.FC = () => {
- const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<>
<Series>
- <Series.Sequence
- name="Incline"
- trimBefore={28}
- durationInFrames={83}
- premountFor={fps}
- >
+ <Series.Sequence name="Incline" trimBefore={28} durationInFrames={83}>
<Video
name="IMG_0459"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -132,7 +123,6 @@ const UphillInner: React.FC = () => {
name="Awesome features"
trimBefore={131}
durationInFrames={145}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -140,14 +130,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -259,26 +247,19 @@ const UphillInner: React.FC = () => {
]}
/>
</Series.Sequence>
- <Series.Sequence
- name="Which is"
- trimBefore={299}
- durationInFrames={24}
- premountFor={fps}
- >
+ <Series.Sequence name="Which is" trimBefore={299} durationInFrames={24}>
<Video
name="IMG_0459"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -303,7 +284,6 @@ const UphillInner: React.FC = () => {
name="Cannot roll backwards"
trimBefore={342}
durationInFrames={48}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -311,14 +291,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -364,7 +342,6 @@ const UphillInner: React.FC = () => {
name="So I can just"
trimBefore={416}
durationInFrames={21}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -372,14 +349,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -414,26 +389,19 @@ const UphillInner: React.FC = () => {
]}
/>
</Series.Sequence>
- <Series.Sequence
- name="Walk"
- trimBefore={465}
- durationInFrames={24}
- premountFor={fps}
- >
+ <Series.Sequence name="Walk" trimBefore={465} durationInFrames={24}>
<Video
name="IMG_0459"
src={
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -451,7 +419,6 @@ const UphillInner: React.FC = () => {
name="Super chill"
trimBefore={539}
durationInFrames={40}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -459,14 +426,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -491,7 +456,6 @@ const UphillInner: React.FC = () => {
name="Super casual"
trimBefore={642}
durationInFrames={37}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -499,14 +463,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -531,7 +493,6 @@ const UphillInner: React.FC = () => {
name="Really super cool"
trimBefore={1050}
durationInFrames={29}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -539,14 +500,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -578,7 +537,6 @@ const UphillInner: React.FC = () => {
name="One thing"
trimBefore={1141}
durationInFrames={64}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -586,14 +544,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%', rotate: '180deg'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -667,7 +623,6 @@ const UphillInner: React.FC = () => {
name="People look weird"
trimBefore={1224}
durationInFrames={95}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -675,7 +630,6 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -692,7 +646,6 @@ const UphillInner: React.FC = () => {
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -766,7 +719,6 @@ const UphillInner: React.FC = () => {
name="What is cool"
trimBefore={1335}
durationInFrames={257}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -774,14 +726,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%', rotate: '180deg'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -918,7 +868,6 @@ const UphillInner: React.FC = () => {
name="Even the cows"
trimBefore={1751}
durationInFrames={168}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -926,7 +875,6 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
@@ -938,14 +886,12 @@ const UphillInner: React.FC = () => {
from={1872}
trimBefore={75}
muted
- premountFor={fps}
objectFit="cover"
style={{position: 'absolute', width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -1047,7 +993,6 @@ const UphillInner: React.FC = () => {
name="Cow stare"
trimBefore={122}
durationInFrames={51}
- premountFor={fps}
>
<Video
name="IMG_0460"
@@ -1055,7 +1000,6 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0460.MOV'
}
muted
- premountFor={fps}
objectFit="cover"
style={{
width: '100%',
@@ -1073,7 +1017,6 @@ const UphillInner: React.FC = () => {
name="But you know"
trimBefore={1932}
durationInFrames={22}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -1081,14 +1024,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -1120,7 +1061,6 @@ const UphillInner: React.FC = () => {
name="Stand for your values"
trimBefore={2018}
durationInFrames={255}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -1128,14 +1068,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%', rotate: '180deg'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -1223,7 +1161,6 @@ const UphillInner: React.FC = () => {
name="Step by step"
trimBefore={2273}
durationInFrames={87}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -1231,14 +1168,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -1291,7 +1226,6 @@ const UphillInner: React.FC = () => {
name="Reached the top"
trimBefore={2416}
durationInFrames={67}
- premountFor={fps}
>
<Video
name="IMG_0459"
@@ -1299,14 +1233,12 @@ const UphillInner: React.FC = () => {
'https://remotion.media/jonnys-videos/roller-skis/footage/IMG_0459.MOV'
}
volume={0.8}
- premountFor={fps}
objectFit="cover"
style={{width: '100%', height: '100%'}}
/>
<PoppingWordCaptions
combineTokensWithinMilliseconds={null}
name="Captions"
- premountFor={fps}
width={1600}
style={{position: 'absolute', bottom: 56, translate: '160px 0px'}}
captions={[
@@ -1360,7 +1292,6 @@ const UphillInner: React.FC = () => {
name="Feature callout"
from={258}
durationInFrames={164}
- premountFor={fps}
label="Feature"
text="Can't roll backwards"
icon="check"
@@ -1372,14 +1303,12 @@ const UphillInner: React.FC = () => {
src="https://remotion.media/ding.wav"
from={258}
volume={0.35}
- premountFor={fps}
/>
<Audio
name="Vine boom"
src="https://remotion.media/vine-boom.wav"
from={1035}
volume={0.5}
- premountFor={fps}
/>
</>
);
diff --git a/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx b/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx
index 2786243b62..1431e43adb 100644
--- a/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx
+++ b/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx
@@ -4,25 +4,19 @@ import {
Interactive,
interpolate,
useCurrentFrame,
- useVideoConfig,
} from 'remotion';
import {rollerSkiAsset} from './assets';
import {BasicCaptions} from './basic-captions';
const CommuteMotionGraphicInner: React.FC = () => {
const frame = useCurrentFrame();
- const {fps} = useVideoConfig();
return (
<AbsoluteFill
showInTimeline={false}
style={{backgroundColor: '#F7F9FC', color: '#14213D'}}
>
- <Audio
- src={rollerSkiAsset('footage/IMG_0463.MOV')}
- trimBefore={417}
- premountFor={fps}
- />
+ <Audio src={rollerSkiAsset('footage/IMG_0463.MOV')} trimBefore={417} />
<Interactive.Div
name="Remotion wordmark"
style={{
diff --git a/packages/jonnys-videos/src/roller-skis/Composition.tsx b/packages/jonnys-videos/src/roller-skis/Composition.tsx
index a0601cef29..4899d4536b 100644
--- a/packages/jonnys-videos/src/roller-skis/Composition.tsx
+++ b/packages/jonnys-videos/src/roller-skis/Composition.tsx
@@ -122,7 +122,6 @@ const OpeningTitleCardInner: React.FC = () => {
const PresenterZoomInner: React.FC = () => {
const frame = useCurrentFrame();
- const {fps} = useVideoConfig();
const zoom = interpolate(frame, [472, 516], [1, 1.09], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
@@ -136,7 +135,6 @@ const PresenterZoomInner: React.FC = () => {
trimBefore={120}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[
lut({content: studioLut}),
vignette({
@@ -159,7 +157,6 @@ const PresenterZoomInner: React.FC = () => {
trimBefore={556}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[
lut({content: studioLut}),
vignette({
@@ -651,22 +648,16 @@ const PresenterIntroductionInner: React.FC = () => {
const RollerSkiRoughCutInner: React.FC = () => {
const frame = useCurrentFrame();
- const {fps} = useVideoConfig();
return (
<>
<TransitionSeries>
- <TransitionSeries.Sequence
- name="Opening text"
- durationInFrames={185}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Opening text" durationInFrames={185}>
<OpeningTitleCard />
</TransitionSeries.Sequence>
<TransitionSeries.Sequence
name="Presenter introduction (1)"
durationInFrames={346}
- premountFor={fps}
trimBefore={21}
>
<PresenterIntroduction />
@@ -674,14 +665,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Roller ski blueprint intro"
durationInFrames={525}
- premountFor={fps}
>
<RollerSkiBlueprint />
</TransitionSeries.Sequence>
<TransitionSeries.Sequence
name="Opening selfie"
durationInFrames={15.866666666666667 * FPS}
- premountFor={fps}
trimBefore={55}
>
<Video
@@ -689,7 +678,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
trimBefore={0}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -942,7 +930,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Getting ready"
durationInFrames={6.4 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0457.MOV')}
@@ -950,7 +937,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
trimBefore={120}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
playbackRate={5}
effects={[lut({content: outdoorLut})]}
/>
@@ -958,7 +944,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Presenter introduction (2)"
durationInFrames={127}
- premountFor={fps}
trimBefore={369}
>
<PresenterZoom />
@@ -1107,11 +1092,7 @@ const RollerSkiRoughCutInner: React.FC = () => {
combineTokensWithinMilliseconds={3000}
/>
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="TV color bars"
- durationInFrames={15}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="TV color bars" durationInFrames={15}>
<TvColorBars />
<Audio
src={rollerSkiAsset('audio/tv-static-tone.wav')}
@@ -1121,14 +1102,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="The pole tips"
durationInFrames={354}
- premountFor={fps}
trimBefore={48}
>
<Video
src={rollerSkiAsset('footage/webcam1790859190089.mp4')}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: studioLut})]}
/>
<BasicCaptions
@@ -1285,14 +1264,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="First roll"
durationInFrames={6.333333333333335 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0457.MOV')}
trimBefore={40 * FPS}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -1342,27 +1319,23 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="First roll cutscene"
durationInFrames={246}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/first-roll-cutscene.mp4')}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
</TransitionSeries.Sequence>
<TransitionSeries.Sequence
name="Climbing the incline"
durationInFrames={12.4 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0459.MOV')}
trimBefore={1 * FPS}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
volume={interpolate(frame, [2697, 2896], [1, 1], {
extrapolateLeft: 'clamp',
@@ -1404,14 +1377,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="How the skis roll"
durationInFrames={15 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0475.MOV')}
trimBefore={93 * FPS}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: studioLut})]}
/>
<BasicCaptions
@@ -1687,14 +1658,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="People look at me weird"
durationInFrames={6.7 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0459.MOV')}
trimBefore={38 * FPS}
style={{...videoStyle, rotate: '180deg'}}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -1724,14 +1693,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Cows react"
durationInFrames={6.7 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0460.MOV')}
muted
style={videoStyle}
objectFit="cover"
- premountFor={fps}
durationInFrames={220}
effects={[lut({content: outdoorLut})]}
/>
@@ -1767,7 +1734,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Why roller skiing"
durationInFrames={57.03333333333333 * FPS}
- premountFor={fps}
trimBefore={22}
>
<Video
@@ -1775,21 +1741,18 @@ const RollerSkiRoughCutInner: React.FC = () => {
trimBefore={30}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: studioLut})]}
/>
<Sequence
name="Hackathon half-marathon b-roll"
from={7.2 * FPS}
durationInFrames={9 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/jonny-hackathon-half-marathon.mp4')}
muted
style={videoStyle}
objectFit="cover"
- premountFor={fps}
/>
<div
style={{
@@ -1823,14 +1786,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
name="SkiErg demonstration b-roll"
from={24.2 * FPS}
durationInFrames={5.5 * FPS}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/skierg-hwpo-broll.mp4')}
muted
style={videoStyle}
objectFit="cover"
- premountFor={fps}
/>
<div
style={{
@@ -2726,14 +2687,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Best commute footage"
durationInFrames={444}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0463.MOV')}
trimBefore={0}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -2779,14 +2738,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Approaching the crossing"
durationInFrames={321}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0464.MOV')}
trimBefore={1 * FPS}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -2987,7 +2944,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Mehmet considers the roller skis"
durationInFrames={20.733333333333334 * FPS}
- premountFor={fps}
trimBefore={71}
>
<Video
@@ -2995,7 +2951,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
trimBefore={42 * FPS}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: studioLut})]}
/>
<BasicCaptions
@@ -3053,14 +3008,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="After the descent"
durationInFrames={924}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0465.MOV')}
trimBefore={0}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -3629,14 +3582,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Arriving at Remotion"
durationInFrames={230}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0473.MOV')}
trimBefore={0}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -3666,7 +3617,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Remotion office exterior"
durationInFrames={150}
- premountFor={fps}
trimBefore={95}
>
<Video
@@ -3674,7 +3624,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
trimBefore={0}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -3712,13 +3661,11 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Closing thoughts"
durationInFrames={798}
- premountFor={fps}
>
<StravaRidesBroll
name="Four Strava rides b-roll"
from={2 * FPS}
durationInFrames={STRAVA_BROLL_DURATION}
- premountFor={fps}
/>
<BasicCaptions
name="Closing thoughts captions"
@@ -3731,14 +3678,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="How to brake — demonstration"
durationInFrames={1164}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0478.MOV')}
trimBefore={95}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -3751,14 +3696,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="How to brake — conclusion"
durationInFrames={82}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/IMG_0478.MOV')}
trimBefore={1602}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: outdoorLut})]}
/>
<BasicCaptions
@@ -3771,7 +3714,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
<TransitionSeries.Sequence
name="Closing thoughts (continued)"
durationInFrames={1567}
- premountFor={fps}
>
<Video
src={rollerSkiAsset('footage/webcam1790859120255.mp4')}
@@ -3781,7 +3723,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
transform: 'translateY(-55px) scale(1.12)',
}}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: studioLut})]}
/>
<BasicCaptions
@@ -3792,17 +3733,12 @@ const RollerSkiRoughCutInner: React.FC = () => {
combineTokensWithinMilliseconds={3500}
/>
</TransitionSeries.Sequence>
- <TransitionSeries.Sequence
- name="Outro"
- durationInFrames={287}
- premountFor={fps}
- >
+ <TransitionSeries.Sequence name="Outro" durationInFrames={287}>
<Video
src={rollerSkiAsset('footage/webcam1790859310676.mp4')}
trimBefore={30}
style={videoStyle}
objectFit="cover"
- premountFor={fps}
effects={[lut({content: studioLut})]}
/>
<BasicCaptions
@@ -3996,7 +3932,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
name="Jonny Burger YouTube end card"
from={END_CARD_START}
durationInFrames={END_CARD_DURATION_IN_FRAMES}
- premountFor={fps}
style={{
translate: interpolate(
frame,
@@ -4015,7 +3950,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
src={rollerSkiAsset('audio/no-school-today-femme-tov.wav')}
from={2212}
durationInFrames={450}
- premountFor={fps}
volume={(audioFrame) =>
interpolate(
audioFrame,
@@ -4030,7 +3964,6 @@ const RollerSkiRoughCutInner: React.FC = () => {
src={rollerSkiAsset('audio/no-school-today-femme-tov.wav')}
from={END_CARD_START + 20}
durationInFrames={END_CARD_DURATION_IN_FRAMES}
- premountFor={fps}
volume={(audioFrame) =>
interpolate(
audioFrame,
diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx b/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx
index 57ca41e9ce..ee2cf1e7c9 100644
--- a/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx
+++ b/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx
@@ -1,11 +1,5 @@
import {Audio} from '@remotion/media';
-import {
- AbsoluteFill,
- Composition,
- Folder,
- Interactive,
- useVideoConfig,
-} from 'remotion';
+import {AbsoluteFill, Composition, Folder, Interactive} from 'remotion';
import {rollerSkiAsset} from '../assets';
import {BlueprintStage} from './BlueprintStage';
import {CodeCard} from './CodeCard';
@@ -13,8 +7,6 @@ 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.
const RollerSkiBlueprintInner: React.FC = () => {
- const {fps} = useVideoConfig();
-
return (
<AbsoluteFill showInTimeline={false} style={{backgroundColor: '#FFFFFF'}}>
<Audio
@@ -45,12 +37,10 @@ const RollerSkiBlueprintInner: React.FC = () => {
src={rollerSkiAsset('blueprint/whoosh-hero.wav')}
from={456}
volume={0.5}
- premountFor={fps}
/>
<BlueprintStage
name="3D model · hidden-line render"
durationInFrames={525}
- premountFor={fps}
lineColor="#1F4FD8"
lineWidth={1.6}
/>
@@ -58,7 +48,6 @@ const RollerSkiBlueprintInner: React.FC = () => {
name="Title"
from={255}
durationInFrames={270}
- premountFor={fps}
style={{
position: 'absolute',
zIndex: 1,
diff --git a/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx b/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx
index eae04b9cc7..504672990e 100644
--- a/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx
+++ b/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx
@@ -237,7 +237,6 @@ const NordicRoutesInner: React.FC<{whiteOverlay?: boolean}> = ({
>
<Interactive.Div
name="Four routes fade"
- premountFor={fps}
style={{
position: 'absolute',
inset: 0,
@@ -258,7 +257,6 @@ const NordicRoutesInner: React.FC<{whiteOverlay?: boolean}> = ({
routeIndex={0}
accentColor="#FC4C02"
whiteOverlay={whiteOverlay}
- premountFor={fps}
style={{left: 100, top: 90}}
/>
<RoutePanel
@@ -266,7 +264,6 @@ const NordicRoutesInner: React.FC<{whiteOverlay?: boolean}> = ({
routeIndex={1}
accentColor="#FC4C02"
whiteOverlay={whiteOverlay}
- premountFor={fps}
style={{left: 1060, top: 90}}
/>
<RoutePanel
@@ -274,7 +271,6 @@ const NordicRoutesInner: React.FC<{whiteOverlay?: boolean}> = ({
routeIndex={2}
accentColor="#FC4C02"
whiteOverlay={whiteOverlay}
- premountFor={fps}
style={{left: 100, top: whiteOverlay ? 460 : 610}}
/>
<RoutePanel
@@ -282,7 +278,6 @@ const NordicRoutesInner: React.FC<{whiteOverlay?: boolean}> = ({
routeIndex={3}
accentColor="#FC4C02"
whiteOverlay={whiteOverlay}
- premountFor={fps}
style={{left: 1060, top: whiteOverlay ? 460 : 610}}
/>
</Interactive.Div>