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