Description
I'm 99% sure this will need to be a Chrome Extension.
Requirements are:
-
User signs into Cap via Chrome extension (similar auth process as desktop app)
-
Chrome extension asks user to visit their Loom dashboard
-
We allow the user to import one space at a time, so they should select which space they want to import (spaces which they own, not only a member of).
-
We retrieve a list of all of the users members for that space
-
We retrieve a list of all videos belonging to that space
-
We ask the user which space they want to import into, or ask if they want to create a new one
-
We preview to the user what is going to be imported
-
We create the necessary imports, via a new /api/importer prefixed endpoint (from the web app).
-
When creating the video, we can use this url: https://www.loom.com/api/campaigns/sessions/LOOM_VIDEO_ID/transcoded-url, to grab the video .mp4 file. For now, we can leave the actual .mp4 upload to Cap for later. The Cap team will implement this part.
-
For imported videos, spaces, members etc, we should have a column on each that tracks their respective Loom id so know it was imported.