Skip to content

πŸŽ₯ Make videos programmatically with React

Docs: Remove Animated Captions section (#10098)

Jonny Burger428074c6d23b
diff --git a/packages/docs/docs/animated-captions/faq.mdx b/packages/docs/docs/animated-captions/faq.mdx
deleted file mode 100644
index d6d50de5a9..0000000000
--- a/packages/docs/docs/animated-captions/faq.mdx
+++ /dev/null
@@ -1,13 +0,0 @@
----
-image: /generated/articles-docs-animated-captions-faq.png
-title: Animated Captions – FAQ
-sidebar_label: FAQ
-crumb: remotion.pro
----
-
-# Animated Captions FAQ
-
-## Does this support Japanese, Korean, Chinese, Romanian language?
-
-It depends on the font. The default font is [Montserrat](https://fonts.google.com/specimen/Montserrat), which does support all of the above languages.
-You also need to be able to [generate the captions](/docs/captions) in your preferred language. This is out of the scope of this component.
diff --git a/packages/docs/docs/animated-captions/index.mdx b/packages/docs/docs/animated-captions/index.mdx
deleted file mode 100644
index 26897fe598..0000000000
--- a/packages/docs/docs/animated-captions/index.mdx
+++ /dev/null
@@ -1,12 +0,0 @@
----
-image: /generated/articles-docs-animated-captions-index.png
-title: Animated Captions
-sidebar_label: Animated Captions
-crumb: remotion.pro
----
-
-# Animated Captions
-
-A paid component for adding animated captions to your Remotion videos.
-
-You can buy Animated Captions on [remotion.pro](https://www.remotion.pro/animated-captions).
diff --git a/packages/docs/docs/captions/transcribing.mdx b/packages/docs/docs/captions/transcribing.mdx
index d2aef9356a..ad0c25be0b 100644
--- a/packages/docs/docs/captions/transcribing.mdx
+++ b/packages/docs/docs/captions/transcribing.mdx
@@ -16,13 +16,13 @@ Remotion provides several built-in options for transcribing audio to generate ca
## Comparison
-| | [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp) | [`@remotion/whisper-web`](/docs/whisper-web) | [`@remotion/openai-whisper`](/docs/openai-whisper) | [`@remotion/elevenlabs`](/docs/elevenlabs) |
-| -------------------- | ------------------------------------------------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
-| **Environment** | Server (Node.js) | Client (Browser) | Cloud (API) | Cloud (API) |
-| **Speed** | Fast (depends on hardware) | Slow (WASM overhead) | Fast | Fast |
-| **Cost** | Free | Free | Paid (OpenAI API pricing) | Paid (ElevenLabs API pricing) |
-| **Offline support** | βœ… | βœ… | ❌ | ❌ |
-| **No server needed** | ❌ | βœ… | βœ… | βœ… |
+| | [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp) | [`@remotion/whisper-web`](/docs/whisper-web) | [`@remotion/openai-whisper`](/docs/openai-whisper) | [`@remotion/elevenlabs`](/docs/elevenlabs) |
+| -------------------- | ------------------------------------------------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
+| **Environment** | Server (Node.js) | Client (Browser) | Cloud (API) | Cloud (API) |
+| **Speed** | Fast (depends on hardware) | Slow (WASM overhead) | Fast | Fast |
+| **Cost** | Free | Free | Paid (OpenAI API pricing) | Paid (ElevenLabs API pricing) |
+| **Offline support** | βœ… | βœ… | ❌ | ❌ |
+| **No server needed** | ❌ | βœ… | βœ… | βœ… |
| **Convert function** | [`toCaptions()`](/docs/install-whisper-cpp/to-captions) | [`toCaptions()`](/docs/whisper-web/to-captions) | [`openaiWhisperApiToCaptions()`](/docs/openai-whisper/openai-whisper-api-to-captions) | [`elevenLabsTranscriptToCaptions()`](/docs/elevenlabs/elevenlabs-transcript-to-captions) |
## The `Caption` type
@@ -31,7 +31,7 @@ All of these options can output captions in the [`Caption`](/docs/captions/capti
- Enables usage of the APIs in [`@remotion/captions`](/docs/captions/api), such as [`createTikTokStyleCaptions()`](/docs/captions/create-tiktok-style-captions)
- Matches the format used in the [Remotion Editor Starter](https://remotion.pro/store/editor-starter)
-- Is compatible with the [Animated Captions](https://remotion.pro/store/animated-captions) package
+- Can be displayed using the [caption elements](/elements/captions/)
## Alternatives
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index ee43f24610..f52a08e48e 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1680,12 +1680,6 @@ const sidebars: SidebarsConfig = {
label: 'Timeline',
className: 'pro-item',
},
- {
- type: 'link',
- href: '/docs/animated-captions',
- label: 'Animated Captions',
- className: 'pro-item',
- },
{
type: 'link',
href: '/docs/recorder',
@@ -1841,22 +1835,6 @@ const sidebars: SidebarsConfig = {
],
},
],
- animatedCaptionsSidebar: [
- {
- type: 'link',
- href: '/docs',
- label: '← Back to the main docs',
- },
- {
- type: 'category',
- label: 'Animated Captions',
- link: {
- type: 'doc',
- id: 'animated-captions/index',
- },
- items: ['animated-captions/faq'],
- },
- ],
recorderSidebar: [
{
type: 'category',
diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.ts
index 6425ff5144..1eeb39531e 100644
--- a/packages/docs/src/data/articles.ts
+++ b/packages/docs/src/data/articles.ts
@@ -206,24 +206,6 @@ export const articles = [
noAi: false,
slug: 'angular',
},
- {
- id: 'animated-captions/faq',
- title: 'Animated Captions – FAQ',
- relativePath: 'docs/animated-captions/faq.mdx',
- compId: 'articles-docs-animated-captions-faq',
- crumb: 'remotion.pro',
- noAi: false,
- slug: 'animated-captions/faq',
- },
- {
- id: 'animated-captions/index',
- title: 'Animated Captions',
- relativePath: 'docs/animated-captions/index.mdx',
- compId: 'articles-docs-animated-captions-index',
- crumb: 'remotion.pro',
- noAi: false,
- slug: 'animated-captions/index',
- },
{
id: 'animated-emoji',
title: '<AnimatedEmoji>',
diff --git a/packages/docs/static/generated/articles-docs-animated-captions-faq.png b/packages/docs/static/generated/articles-docs-animated-captions-faq.png
deleted file mode 100644
index f4aba1f808..0000000000
Binary files a/packages/docs/static/generated/articles-docs-animated-captions-faq.png and /dev/null differ
diff --git a/packages/docs/static/generated/articles-docs-animated-captions-index.png b/packages/docs/static/generated/articles-docs-animated-captions-index.png
deleted file mode 100644
index 5159005c2b..0000000000
Binary files a/packages/docs/static/generated/articles-docs-animated-captions-index.png and /dev/null differ
diff --git a/packages/docs/vercel.ts b/packages/docs/vercel.ts
index d532903500..d2e684dfaf 100644
--- a/packages/docs/vercel.ts
+++ b/packages/docs/vercel.ts
@@ -338,6 +338,12 @@ export const config: VercelConfig = {
permanent: false,
}),
routes.redirect('/captions', '/docs/captions', {permanent: false}),
+ routes.redirect('/docs/animated-captions', '/elements/captions/', {
+ permanent: true,
+ }),
+ routes.redirect('/docs/animated-captions/faq', '/elements/captions/', {
+ permanent: true,
+ }),
routes.redirect(
'/docs/miscellaneous/snippets/adding-animations',
'/docs/animation-math',