🎥 Make videos programmatically with React
import path from 'node:path'; export const makeS3Key = (folder: string, dir: string, filePath: string) => { return `${folder}/${path.relative(dir, filePath).split(path.sep).join('/')}`; };