Add youtu.be embed handler (#945)

This commit is contained in:
Chris Chrome 2023-01-17 23:47:23 -07:00 committed by GitHub
parent 0e7f127ece
commit 7152a1c2c1

View File

@ -420,7 +420,9 @@ export const EmbedHandlers: {
}, },
}; };
}, },
"youtu.be": (url: URL) => {
return EmbedHandlers["www.youtube.com"](url);
},
"youtube.com": (url: URL) => { "youtube.com": (url: URL) => {
return EmbedHandlers["www.youtube.com"](url); return EmbedHandlers["www.youtube.com"](url);
}, },