Welcome to a simple Remix & Remotion Demo!
78 |
79 | @kentcdodds mentioned
80 | yesterday in the{" "}
81 | Remix Run Discord that
82 | it would be cool to combine{" "}
83 | Remotion with a{" "}
84 |
85 | Remix resource route
86 | {" "}
87 | to render a dynamic video. I thought so too, so I put together this
88 | quick demo. Feel free to check it out.
89 |
90 | Also check out the{" "}
91 | Remotion Docs because I
92 | stitched this together from a bunch of their example code.
93 |
95 | You can try the demo at the bottom with your GitHub username. Or go
96 | directly to /api/video/:yourGitHubUsername to hit the
97 | resource route directly.
98 |
Render a custom video with your GitHub Profile
102 | 111 | { 112 |113 | {transition.state === "submitting" 114 | ? "Checking username..." 115 | : transition.state === "loading" 116 | ? "Generating your video ..." 117 | : null} 118 |
119 | } 120 |Or select one of the Remix Team members
123 |-
124 | {cache
125 | .filter((user) => user.login !== "lgastler")
126 | .map((user) => (
127 |
- 128 | 136 | 137 | ))} 138 |