We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1cc8c commit d285288Copy full SHA for d285288
libraries/Library/Std/Widgets/Embed.md
@@ -41,6 +41,9 @@ function embed.youtube(specOrUrl)
41
if not videoId then
42
videoId = string.match(specOrUrl.url, "youtu%.be/(.+)")
43
end
44
+ if not videoId then
45
+ videoId = string.match(specOrUrl.url, "youtube%.com/shorts/(.+)")
46
+ end
47
48
49
error("No video id found")
0 commit comments