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 62b762a commit c332ff3Copy full SHA for c332ff3
src/resources/extensions/quarto/video/video.lua
@@ -78,7 +78,7 @@ local youTubeBuilder = function(params)
78
if not (params and params.src) then return nil end
79
local src = params.src
80
match = checkMatchStart(src, 'https://www.youtube.com/embed/')
81
- match = match or checkMatchStart(src, 'https://youtube.com/shorts')
+ match = match or checkMatchStart(src, 'https://www.youtube.com/shorts/')
82
match = match or checkMatchStart(src, 'https://www.youtube%-nocookie.com/embed/')
83
match = match or checkMatchStart(src, 'https://youtu.be/')
84
match = match or string.match(src, '%?v=(.-)&')
0 commit comments