Skip to content

Commit c332ff3

Browse files
committed
fix: full URL
1 parent 62b762a commit c332ff3

File tree

1 file changed

+1
-1
lines changed
  • src/resources/extensions/quarto/video

1 file changed

+1
-1
lines changed

src/resources/extensions/quarto/video/video.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ local youTubeBuilder = function(params)
7878
if not (params and params.src) then return nil end
7979
local src = params.src
8080
match = checkMatchStart(src, 'https://www.youtube.com/embed/')
81-
match = match or checkMatchStart(src, 'https://youtube.com/shorts')
81+
match = match or checkMatchStart(src, 'https://www.youtube.com/shorts/')
8282
match = match or checkMatchStart(src, 'https://www.youtube%-nocookie.com/embed/')
8383
match = match or checkMatchStart(src, 'https://youtu.be/')
8484
match = match or string.match(src, '%?v=(.-)&')

0 commit comments

Comments
 (0)