youtube embed playlist may also accept current video id

This commit is contained in:
polv committed 2026-09-12 21:13:30 +07:00
1 parent e68493ba35
commit 4703409a35
1 file changed
+2 -2
+2 -2
View File
@@ -5,8 +5,8 @@
width="100%"
height="100%"
:src="
'https://www.youtube.com/embed/' +
($props.list ? `videoseries?list=${$props.list}` : $props.id)
`https://www.youtube.com/embed/${$props.id || 'videoseries'}` +
($props.list ? `?list=${$props.list}` : '')
"
:title="$props.title"
frameborder="0"