🎥 Make videos programmatically with React
remove image url
Jonny Burger22b945789cd3
diff --git a/packages/docs/src/components/VideoPreview.tsx b/packages/docs/src/components/VideoPreview.tsxindex 2eda349565..fc02da84c9 100644--- a/packages/docs/src/components/VideoPreview.tsx+++ b/packages/docs/src/components/VideoPreview.tsx@@ -24,12 +24,11 @@ const videoTitle: React.CSSProperties = {export const VideoPreview: React.FC<ShowcaseVideo & {- imageUrl: string;title: string;description: React.ReactNode;onClick: () => void;}-> = ({ imageUrl, title, description, onClick, muxId }) => {+> = ({ title, description, onClick, muxId }) => {const [hover, setHover] = useState(false);const container = useRef<HTMLAnchorElement>(null);diff --git a/packages/docs/src/data/showcase-videos.tsx b/packages/docs/src/data/showcase-videos.tsxindex 70797d72b5..64306df5c2 100644--- a/packages/docs/src/data/showcase-videos.tsx+++ b/packages/docs/src/data/showcase-videos.tsx@@ -4,7 +4,6 @@ export type ShowcaseLink = "tutorial" | "source_code" | "website" | "video";export type ShowcaseVideo = {title: string;- imageUrl: string;description: React.ReactNode;height: number;width: number;@@ -22,7 +21,6 @@ export const showcaseVideos: ShowcaseVideo[] = [title: "Spotify Wrapped",type: "mux_video",muxId: "V5Dpfui9NmUSons5P5VQRbyX5m5011LsRA01f0129CLbHo",- imageUrl: "img/showcase/1.png",description: (<>A recreation of Spotify Wrapped where you can override all text and@@ -47,7 +45,6 @@ export const showcaseVideos: ShowcaseVideo[] = [title: "AnySticker In App Assets",type: "mux_video",muxId: "HL4G1x01aX8lizSXFGuQG8do6LLKcI1mup6WjIz6OEFE",- imageUrl: "img/showcase/2.png",description: (<>This video will welcome users in the newest version of AnySticker.</>),@@ -65,7 +62,6 @@ export const showcaseVideos: ShowcaseVideo[] = [title: "Remotion Trailer",type: "mux_video",muxId: "nJ2JnX2a02JiDvirVoNrz02lJ01q8DuvIZoKKq8q1uPdKA",- imageUrl: "img/showcase/3.png",description: <>This video Welcome you to Remotion project.</>,width: 1920,height: 1080,@@ -85,7 +81,6 @@ export const showcaseVideos: ShowcaseVideo[] = [title: "VFB Crowdfunding Campaign",type: "mux_video",muxId: "L7DYDk9o701zxfWUhcFb1Z1mGGzYoIuxddwNVI3tcemQ",- imageUrl: "img/showcase/4.png",description: (<>It fetchs the actual raised amount and generate an animation withdiff --git a/packages/docs/static/img/showcase/1.png b/packages/docs/static/img/showcase/1.pngdeleted file mode 100644index f48431392a..0000000000Binary files a/packages/docs/static/img/showcase/1.png and /dev/null differdiff --git a/packages/docs/static/img/showcase/2.png b/packages/docs/static/img/showcase/2.pngdeleted file mode 100644index 78c176824d..0000000000Binary files a/packages/docs/static/img/showcase/2.png and /dev/null differdiff --git a/packages/docs/static/img/showcase/3.png b/packages/docs/static/img/showcase/3.pngdeleted file mode 100644index b89eaf878a..0000000000Binary files a/packages/docs/static/img/showcase/3.png and /dev/null differdiff --git a/packages/docs/static/img/showcase/4.png b/packages/docs/static/img/showcase/4.pngdeleted file mode 100644index 31ea3b1c92..0000000000Binary files a/packages/docs/static/img/showcase/4.png and /dev/null differ