🚑 Fix youtube URL detection regex
This commit is contained in:
@ -31,7 +31,7 @@ export const verticalVideoSuggestionSize = {
|
||||
|
||||
const youtubeBaseUrl = 'https://www.youtube.com/embed'
|
||||
export const youtubeRegex =
|
||||
/youtube\.com\/(watch\?v=|shorts\/)([\w-]+)|youtu\.be\/([\w-]+)(\?.+)/
|
||||
/youtube\.com\/(watch\?v=|shorts\/)([\w-]+)|youtu\.be\/([\w-]+)(\?.+)*/
|
||||
|
||||
export const youtubeEmbedParamsMap = {
|
||||
t: 'start',
|
||||
|
Reference in New Issue
Block a user