🎥 Make videos programmatically with React
move assets out
Jonny Burger613da13f808b
diff --git a/packages/docs/blog/2022-07-14-remotion-3-1.mdx b/packages/docs/blog/2022-07-14-remotion-3-1.mdxindex 34c6cc0525..360992f3d2 100644--- a/packages/docs/blog/2022-07-14-remotion-3-1.mdx+++ b/packages/docs/blog/2022-07-14-remotion-3-1.mdx@@ -24,7 +24,7 @@ This release brings support for GIF as an output format, official support for Ta- You can even render your GIF distributed across many small VMs using Remotion Lambda!-<img style={{width: "100%"}} src="/img/render-as-gif.gif" />+<img style={{width: "100%"}} src="https://remotion-assets.s3.eu-central-1.amazonaws.com/render-as-gif.gif" /><p style={{textAlign: "center"}}><em>You can put <a href="/docs/gif">{"<Gif>"}</a>'s in your GIF!</em></p>diff --git a/packages/docs/components/OverlayInDavinci.tsx b/packages/docs/components/OverlayInDavinci.tsxindex f0c494064d..777b0431ea 100644--- a/packages/docs/components/OverlayInDavinci.tsx+++ b/packages/docs/components/OverlayInDavinci.tsx@@ -1,12 +1,18 @@-import React, { useRef } from "react";-import "./transparent-video.css";+import React, {useRef} from 'react';+import './transparent-video.css';export const OverlayInDavinci: React.FC = () => {- const ref = useRef<HTMLVideoElement>(null);+ const ref = useRef<HTMLVideoElement>(null);- return (- <div>- <video ref={ref} src="/img/OverlayInDavinci.mp4" controls autoPlay loop />- </div>- );+ return (+ <div>+ <video+ ref={ref}+ src="https://remotion-assets.s3.eu-central-1.amazonaws.com/OverlayInDavinci.mp4"+ controls+ autoPlay+ loop+ />+ </div>+ );};diff --git a/packages/docs/static/img/OverlayInDavinci.mp4 b/packages/docs/static/img/OverlayInDavinci.mp4deleted file mode 100644index 799a19414d..0000000000Binary files a/packages/docs/static/img/OverlayInDavinci.mp4 and /dev/null differdiff --git a/packages/docs/static/img/render-as-gif.gif b/packages/docs/static/img/render-as-gif.gifdeleted file mode 100644index d46df83d7e..0000000000Binary files a/packages/docs/static/img/render-as-gif.gif and /dev/null differ