diff --git a/src/components/note/note-contents.tsx b/src/components/note/note-contents.tsx index 4f168b8e1..b0da60e43 100644 --- a/src/components/note/note-contents.tsx +++ b/src/components/note/note-contents.tsx @@ -28,11 +28,12 @@ const embeds: { }, // Youtube Video { - regexp: /https?:\/\/((?:www|m)\.)?((?:youtube\.com|youtu\.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?/im, + regexp: + /https?:\/\/(?:(?:www|m)\.)?((?:youtube\.com|youtu\.be))(\/(?:[\w\-]+\?v=|embed\/|v\/|live\/)?)([\w\-]+)(\S+)?/im, render: (match) => (