🚸 New dedicated onboarding page
This commit is contained in:
@@ -42,7 +42,6 @@ const parseVideoUrl = (
|
||||
return { type: VideoBubbleContentType.VIMEO, url, id }
|
||||
}
|
||||
if (youtubeRegex.test(url)) {
|
||||
console.log(url.match(youtubeRegex)?.at(2))
|
||||
const id = url.match(youtubeRegex)?.at(2)
|
||||
if (!id) return { type: VideoBubbleContentType.URL, url }
|
||||
return { type: VideoBubbleContentType.YOUTUBE, url, id }
|
||||
|
||||
Reference in New Issue
Block a user