tiptap/packages/extension-youtube/src
Arend-Jan Tetteroo 4d79cb85c9
feat(extension/youtube): Allow youtube shorts urls to be embedded
Youtube uses /shorts/ for their shorts video. The /embed url works with these id's, the regex did not support them though.

This updates the videoId regex to also support the /shorts/ urls.
2023-09-29 14:25:14 +02:00
..
index.ts Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
utils.ts feat(extension/youtube): Allow youtube shorts urls to be embedded 2023-09-29 14:25:14 +02:00
youtube.ts Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00