Skip to content

🎥 Make videos programmatically with React

Add Demo section with video tutorial to the Remotion Timeline docs

Igor Samokhovets36b59d14e86b
diff --git a/packages/docs/docs/timeline/demo.mdx b/packages/docs/docs/timeline/demo.mdx
new file mode 100644
index 0000000000..ace09f9b97
--- /dev/null
+++ b/packages/docs/docs/timeline/demo.mdx
@@ -0,0 +1,19 @@
+---
+image: /generated/articles-docs-timeline-demo.png
+title: Remotion Timeline Demo
+sidebar_label: Demo
+id: demo
+---
+
+import {NewMuxVideo} from '../../src/components/MuxVideo';
+
+Here is a walkthrough of how to add the Remotion Timeline to your project.
+
+Timestamps:
+
+00:17 - Copying the Remotion Timeline implementation into the main app codebase
+00:41 - Setting up Tailwind theme
+01:03 - Integrating the Timeline code into the app
+01:50 - Customizing colors (adding a light theme)
+
+<NewMuxVideo muxId="kK6oU02d5muc1gbmxBS8iH6fqZ00zBAE01AFaTL6oHRiqY" style={{maxWidth: 400}} />
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 9849adfacd..3acfc0a5d5 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -1245,7 +1245,12 @@ module.exports = {
type: 'doc',
id: 'timeline/index',
},
- items: ['timeline/setup', 'timeline/usage', 'timeline/faq'],
+ items: [
+ 'timeline/demo',
+ 'timeline/setup',
+ 'timeline/usage',
+ 'timeline/faq',
+ ],
},
{
type: 'link',
diff --git a/packages/docs/static/generated/articles-docs-timeline-demo.png b/packages/docs/static/generated/articles-docs-timeline-demo.png
new file mode 100644
index 0000000000..293c513361
Binary files /dev/null and b/packages/docs/static/generated/articles-docs-timeline-demo.png differ