Skip to content

Commit 878cbea

Browse files
authored
Merge pull request #5336 from remotion-dev/recorder-free
2 parents 566ba44 + de4d96c commit 878cbea

File tree

12 files changed

+57
-58
lines changed

12 files changed

+57
-58
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
3+
export const JumpToVideoLink: React.FC<{
4+
readonly children: string;
5+
}> = ({children}) => {
6+
return (
7+
<a
8+
style={{cursor: 'pointer'}}
9+
onClick={(e) => {
10+
const parts = children.split(':');
11+
const time = parseInt(parts[0], 10) * 60 + parseInt(parts[1], 10);
12+
13+
e.preventDefault();
14+
// @ts-expect-error
15+
window.global_seek_to(time);
16+
}}
17+
>
18+
{children}
19+
</a>
20+
);
21+
};

packages/docs/docs/recorder/buy.mdx

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/docs/docs/recorder/demo.mdx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,22 @@ crumb: Recorder
77

88
import {NewMuxVideo} from '../../src/components/MuxVideo';
99

10-
Here is a walkthrough of how the Remotion Recorder is used.
10+
Here is a walkthrough of how the Remotion Recorder is used.
11+
12+
:::note
13+
The video was recorded when the Recorder was still a paid product - it is now a free template!
14+
:::
1115

1216
Timestamps:
1317

14-
00:08 - Setup
15-
01:10 - Start the Recorder
16-
01:26 - Make a recording
17-
04:07 - Editing the video
18-
05:34 - Editing captions
19-
06:02 - Multiple scenes + advanced editing
20-
07:20 - Endcards and other scenes
21-
07:52 - Exporting for multiple platforms
18+
<JumpToVideoLink>00:08</JumpToVideoLink> - Setup
19+
<JumpToVideoLink>01:10</JumpToVideoLink> - Start the Recorder
20+
<JumpToVideoLink>01:26</JumpToVideoLink> - Make a recording
21+
<JumpToVideoLink>04:07</JumpToVideoLink> - Editing the video
22+
<JumpToVideoLink>05:34</JumpToVideoLink> - Editing captions
23+
<JumpToVideoLink>06:02</JumpToVideoLink> - Multiple scenes + advanced editing
24+
<JumpToVideoLink>07:20</JumpToVideoLink> - Endcards and other scenes
25+
<JumpToVideoLink>07:52</JumpToVideoLink> - Exporting for multiple platforms
2226

2327
<NewMuxVideo
2428
muxId="pHlwqDZFUH00Aubo9M001ty3gZ6YW8z689XTd9R479ayE"

packages/docs/docs/recorder/before-you-buy.mdx renamed to packages/docs/docs/recorder/is-it-for-me.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
image: /generated/articles-docs-recorder-before-you-buy.png
3-
title: Before you buy
2+
title: Is Remotion Recorder for me?
3+
sidebar_label: Is it for me?
44
crumb: Recorder
55
---
66

packages/docs/docs/recorder/our-recorder.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: Our Recorder
44
crumb: Recorder
55
---
66

7-
When you buy the Remotion Recorder, you will also get access to [`remotion-dev/our-recorder`](https://github.com/remotion-dev/our-recorder).
7+
The source code of our videos is available in [`remotion-dev/our-recorder`](https://github.com/remotion-dev/our-recorder).
88
This is the instance of the Recorder that is being used to create [Jonnys](https://twitter.com/JNYBGR) and [Remotion](https://twitter.com/remotion)'s videos.
99

10-
This repository may have more and newer features, but it is not guaranteed to be stable.
10+
This repository may have more and newer features, but it is not guaranteed to be stable.
1111
Use it as a reference if you wonder how we made a specific video!

packages/docs/docs/recorder/roadmap.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ title: Roadmap
44
crumb: Recorder
55
---
66

7-
Buying the Recorder includes access to all future updates.
87

98
Here is a list of things that we plan to add.
10-
We actively develop the Recorder because we use it for our own videos, however we do not put dates on these features.
11-
12-
We recommend that you only buy the Recorder if you find it useful in its current state or plan to develop the missing features yourself.
139

1410
## ✅ SRT export
1511

packages/docs/docs/recorder/setup.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
---
22
image: /generated/articles-docs-recorder-setup.png
33
title: Setup
4+
sidebar_label: Get started
45
crumb: Recorder
56
---
67

78
# Setup
89

9-
First, [purchase](/docs/recorder/buy) the Recorder to [get access to the repo](https://github.com/remotion-dev/recorder).
1010

1111
## 1. Fork and clone
1212

1313
[Create a fork](https://github.com/remotion-dev/recorder/fork) of the `remotion-dev/recorder` repository.
1414
Clone the repository using `git clone` and `cd` into the directory.
1515

16-
:::note
17-
You need to keep your fork **private** to not leak the source code of the Remotion Recorder.
18-
:::
19-
2016
Then, clone your fork to get the project locally.
2117

2218
## 2. Install Bun
2319

24-
The Remotion Recorder requires [Bun](https://bun.sh/), with the minimum version being 1.1.11. To install it, run
20+
The Remotion Recorder requires [Bun](https://bun.sh/), with the minimum version being 1.2. To install it, run
2521

2622
```bash
2723
curl -fsSL https://bun.sh/install | bash

packages/docs/docs/recorder/support.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ title: Get Help
44
crumb: Recorder
55
---
66

7-
Have an issue with the Recorder or your purchase?
8-
We are here to help.
9-
107
## Chat server
118

129
Talk to the Remotion team and other users in the `#recorder` channel in [Discord](https://remotion.dev/discord) to discuss with others using the Recorder.
@@ -16,6 +13,3 @@ Talk to the Remotion team and other users in the `#recorder` channel in [Discord
1613
For bugs with the Recorder, file an issue in the [Recorder repo](https://github.com/remotion-dev/recorder/issues).
1714
For issues with Remotion itself, see here how to [get help](/docs/get-help).
1815

19-
## Billing issues
20-
21-

packages/docs/sidebars.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,6 @@ module.exports = {
13171317
type: 'link',
13181318
href: '/docs/recorder',
13191319
label: 'Recorder',
1320-
className: 'pro-item',
13211320
},
13221321
],
13231322
recorderSidebar: [
@@ -1326,8 +1325,7 @@ module.exports = {
13261325
label: 'Recorder',
13271326
items: [
13281327
'recorder/index',
1329-
'recorder/before-you-buy',
1330-
'recorder/buy',
1328+
'recorder/is-it-for-me',
13311329
'recorder/demo',
13321330
'recorder/setup',
13331331
'recorder/create',

packages/docs/src/components/VideoPlayerWithControls.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ export const VideoPlayerWithControls = forwardRef<
9696
[onError],
9797
);
9898

99+
useEffect(() => {
100+
window.global_seek_to = (time: number) => {
101+
if (videoRef.current) {
102+
videoRef.current.currentTime = time;
103+
}
104+
};
105+
}, []);
106+
99107
const onImageLoad = useCallback(
100108
(event: SizedEvent) => {
101109
const [w, h] = [event.target.width, event.target.height];

packages/docs/src/theme/MDXComponents.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import MDXComponents from '@theme-original/MDXComponents';
33
import {ExperimentalBadge} from '../../components/Experimental';
44
import {InlineStep, Step, TitleStep} from '../../components/InlineStep';
55
import {Installation} from '../../components/Installation';
6+
import {JumpToVideoLink} from '../../components/JumpToVideoLink';
67
import {YouTube} from '../../components/YouTube';
78
import {Demo} from '../../components/demos';
89
import {
@@ -29,4 +30,5 @@ export default {
2930
YouTube,
3031
Installation,
3132
TitleStep,
33+
JumpToVideoLink,
3234
};

packages/promo-pages/src/components/homepage/VideoAppsShowcase.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ const videoApps = [
3737
title: 'Remotion Recorder',
3838
description:
3939
'The Remotion Recorder is a video production tool built entirely in JavaScript. Create high-quality videos that feel native on each platform while only editing them once.',
40-
41-
link: 'https://www.remotion.pro/recorder',
40+
link: 'https://www.remotion.dev/recorder',
4241
videoWidth: 1080,
4342
videoHeight: 1080,
4443
muxId: 'pHlwqDZFUH00Aubo9M001ty3gZ6YW8z689XTd9R479ayE',
@@ -173,7 +172,11 @@ const VideoAppsShowcase: React.FC = () => {
173172
return (
174173
<div ref={containerRef}>
175174
<SectionTitle>Use Cases</SectionTitle>
176-
<div className={'grid justify-center grid-flow-col grid-rows-1 gap-2.5 justify-self-center mb-4 w-[90vw] md:w-auto'}>
175+
<div
176+
className={
177+
'grid justify-center grid-flow-col grid-rows-1 gap-2.5 justify-self-center mb-4 w-[90vw] md:w-auto'
178+
}
179+
>
177180
{tabs.map((tab, index) => (
178181
<button
179182
key={tab}

0 commit comments

Comments
 (0)