This is the code that powers the new Loops Duet camera.

It shows the original video on the left or top of the screen, and your camera preview (front or back) and plays the og video while your recording. You can stop recording and it pauses, and resumes when you continue.

It supports both side-by-side and vertical layouts.

github.com/joinloops/loops-exp

Edit: Apparently mastodon is breaking the url, its the [id].tsx file

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/dansup/statuses/115571329436064830 on your instance and quote it. (Note that quoting is not supported in Mastodon.)