🎥 Make videos programmatically with React
refactor(docs): fix casing in GitHub
Arthur Denner54216414da2e
diff --git a/LICENSE.md b/LICENSE.mdindex bf6690cb50..42ee60a045 100644--- a/LICENSE.md+++ b/LICENSE.md@@ -32,7 +32,7 @@ The software is provided "as is", without warranty of any kind, express or impli### Support-Support is provided on a best-we-can-do basis via Github Issues.+Support is provided on a best-we-can-do basis via GitHub Issues.## Company licensediff --git a/packages/docs/blog/2021-02-15-remotion-1-3.md b/packages/docs/blog/2021-02-15-remotion-1-3.mdindex 1abf0318bf..9226062454 100644--- a/packages/docs/blog/2021-02-15-remotion-1-3.md+++ b/packages/docs/blog/2021-02-15-remotion-1-3.md@@ -93,4 +93,4 @@ interpolate(frame, [0, 100], {## In case you missed it-Another example was added - [Spotify Wrapped!](https://twitter.com/JNYBGR/status/1360269270526136320) This is a fully dynamic example where you can replace all data with a command line flag. There's a 2 hour tutorial on YouTube and the source code is on Github.+Another example was added - [Spotify Wrapped!](https://twitter.com/JNYBGR/status/1360269270526136320) This is a fully dynamic example where you can replace all data with a command line flag. There's a 2 hour tutorial on YouTube and the source code is on GitHub.diff --git a/packages/docs/blog/2021-07-09-remotion-2-2.md b/packages/docs/blog/2021-07-09-remotion-2-2.mdindex 1b9d931c3e..7d5496dc9e 100644--- a/packages/docs/blog/2021-07-09-remotion-2-2.md+++ b/packages/docs/blog/2021-07-09-remotion-2-2.md@@ -14,7 +14,7 @@ Welcome to the release notes of Remotion 2.2! It's been a while since v2.1, but## Environment variable support-We developers use environment variables extensively to manage configuration, secrets and other stuff you don't want to commit to a Github repo. If you write videos with code, environment variables are useful too!+We developers use environment variables extensively to manage configuration, secrets and other stuff you don't want to commit to a GitHub repo. If you write videos with code, environment variables are useful too!We added support for environment variables from the CLI, using a `.env` file, and allowing you to pass environment variables via our Node.JS APIs too. [Click here to learn more.](/docs/env-variables)@@ -178,7 +178,7 @@ Most of these features were brought up and implemented by the community which is- Thanks to [cnnr](https://github.com/cnnrhill) for implementing environment variables support!- Thanks to [Arthur Denner](https://github.com/arthurdenner) for discovering the `document.fonts.ready` feature!- Thanks to [Ashik Meerankutty](https://github.com/ashikmeerankutty) for implementing the `timeupdate` event for the Player!-- Thanks to [Soham Shah](https://github.comsohamsshah) for adding Github Issue Templates and working on a Next.JS template!+- Thanks to [Soham Shah](https://github.comsohamsshah) for adding GitHub Issue Templates and working on a Next.JS template!- Thanks to [William Candillon](https://github.com/wcandillon) for implementing ProRes support!- Thanks to [Salvatore](https://github.com/dested) for implementing `playbackRate` support for Video and Audio components!- Thanks to [ahgsql](https://github.com/ahgsql) for improving how Sequences are displayed in the timeline!diff --git a/packages/docs/components/LandingPage/GithubButton.tsx b/packages/docs/components/LandingPage/GithubButton.tsxindex 0a5cbe0358..6093e4db6f 100644--- a/packages/docs/components/LandingPage/GithubButton.tsx+++ b/packages/docs/components/LandingPage/GithubButton.tsx@@ -11,7 +11,7 @@ const GithubIcon: React.FC = () => {<pathfill="currentColor"d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"- ></path>+ /></svg>);};@@ -21,12 +21,10 @@ export const GithubButton: React.FC = () => {useEffect(() => {fetch(`https://api.github.com/repos/remotion-dev/remotion`)- .then((res) => res.json())- .then((json) => json.watchers)- .then((stars) => {- setStars(stars);- })- .catch((err) => {+ .then(res => res.json())+ .then(json => json.watchers)+ .then(setStars)+ .catch(err => {console.log(err);setStars(null);});@@ -34,7 +32,7 @@ export const GithubButton: React.FC = () => {return (<div className={styles.container}>- <GithubIcon></GithubIcon> <div>Github</div>{" "}+ <GithubIcon /> <span>GitHub</span>{' '}<div className={styles.stars}><div style={{ width: 8, display: "inline-block" }}></div>{" "}{stars ? stars : null}diff --git a/packages/docs/components/LandingPage/parametrize.tsx b/packages/docs/components/LandingPage/parametrize.tsxindex 4b23c1187b..9eba0ea93f 100644--- a/packages/docs/components/LandingPage/parametrize.tsx+++ b/packages/docs/components/LandingPage/parametrize.tsx@@ -108,7 +108,7 @@ export const Parametrize: React.FC = () => {Render videos programmatically using our server-side APIs.</p><span style={{ fontSize: 13 }}>- Customize the video by entering your Github username.+ Customize the video by entering your GitHub username.</span><div style={{ height: 10 }}></div><div>@@ -124,13 +124,13 @@ export const Parametrize: React.FC = () => {style={{ display: "flex", flexDirection: "row" }}><input+ ref={ref}className={styles.parametrizeinput}autoFocus- ref={ref}type="text"- placeholder="Your Github username"- ></input>{" "}- <div style={{ width: 8, display: "inline-block" }}></div>+ placeholder="Your GitHub username"+ />{' '}+ <div style={{ width: 8, display: 'inline-block' }} /><BlueButtonloading={state.type === "loading"}fullWidth={false}diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdxindex 47a22db432..543a8c2420 100644--- a/packages/docs/docs/config.mdx+++ b/packages/docs/docs/config.mdx@@ -41,7 +41,7 @@ Config.Bundling.overrideWebpackConfig((currentConfiguration) => {_Available from Version 2.0._-Enable or disable webpack caching. Default is `true` which will make the Webpack step in the first run a bit slower but will massively speed up subsequent runs. We recommend to keep this option enabled in all cases and encourage to report issues on Github if you encounter some.+Enable or disable webpack caching. Default is `true` which will make the Webpack step in the first run a bit slower but will massively speed up subsequent runs. We recommend to keep this option enabled in all cases and encourage to report issues on GitHub if you encounter some.```ts twoslashimport {Config} from 'remotion'diff --git a/packages/docs/docs/third-party.md b/packages/docs/docs/third-party.mdindex 9fdce4fa81..0b62834b09 100644--- a/packages/docs/docs/third-party.md+++ b/packages/docs/docs/third-party.md@@ -18,7 +18,7 @@ Use the [`@remotion/gif`](/docs/gif) component.## Framer Motion-At the moment, we don't have a Framer Motion integration, but are discussing the matter on [Github Issues](https://github.com/remotion-dev/remotion/issues/399).+At the moment, we don't have a Framer Motion integration, but are discussing the matter on [GitHub Issues](https://github.com/remotion-dev/remotion/issues/399).## Lottie@@ -38,4 +38,4 @@ There is no integration available but Remotion shares some code with Reanimated,## Other libraries-Are you interested in using other libraries with Remotion? You can [file a Github issue](https://github.com/remotion-dev/remotion/issues/new) to inquire it. While we cannot guarantee to help you, you can register interest and kick of the discussion.+Are you interested in using other libraries with Remotion? You can [file a GitHub issue](https://github.com/remotion-dev/remotion/issues/new) to inquire it. While we cannot guarantee to help you, you can register interest and kick of the discussion.diff --git a/packages/docs/docs/three.mdx b/packages/docs/docs/three.mdxindex 7513106643..817adb5903 100644--- a/packages/docs/docs/three.mdx+++ b/packages/docs/docs/three.mdx@@ -17,7 +17,7 @@ These are the only two APIs provided - for everything else you can use the stand## Starter template-Check out [remotion-template-three](https://github.com/remotion-dev/template-three), a minimal boilerplate for Remotion and React Three Fiber. It is a template repository, you can click "Use this template" on the Github repo to get started.+Check out [remotion-template-three](https://github.com/remotion-dev/template-three), a minimal boilerplate for Remotion and React Three Fiber. It is a template repository, you can click "Use this template" on the GitHub repo to get started.<ThreeDPlayer />diff --git a/packages/docs/src/pages/showcase/add.tsx b/packages/docs/src/pages/showcase/add.tsxindex e0a23c2a7d..54fc1e974d 100644--- a/packages/docs/src/pages/showcase/add.tsx+++ b/packages/docs/src/pages/showcase/add.tsx@@ -80,10 +80,10 @@ const PageHeader: React.FC = () => {We will automatically host your video, and create static andanimated preview images. These assets are associated with the{" "}<code>muxId</code>. Once uploaded, you will see a JSON markup and a- Github link where you can edit the list of showcase videos.+ GitHub link where you can edit the list of showcase videos.</li><li>- Edit the list of showcase videos on Github by adding the JSON object+ Edit the list of showcase videos on GitHub by adding the JSON objectto the bottom of the list. Fill in the placeholders in anglebrackets according to the guidelines above and send your pullrequest.diff --git a/packages/renderer/src/get-local-browser-executable.ts b/packages/renderer/src/get-local-browser-executable.tsindex 09546744ce..71b140d832 100644--- a/packages/renderer/src/get-local-browser-executable.ts+++ b/packages/renderer/src/get-local-browser-executable.ts@@ -116,7 +116,7 @@ export const getLocalBrowserExecutable = async (const status = getBrowserStatus(mapBrowserToProduct(browser));if (status.type === 'no-browser') {throw new TypeError(- 'No browser found for rendering frames! Please open a Github issue and describe ' ++ 'No browser found for rendering frames! Please open a GitHub issue and describe ' +'how you reached this error: https://github.com/remotion-dev/remotion/issues');}