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%" width="100%"
height="100%" height="100%"
:src=" :src="
'https://www.youtube.com/embed/' + `https://www.youtube.com/embed/${$props.id || 'videoseries'}` +
($props.list ? `videoseries?list=${$props.list}` : $props.id) ($props.list ? `?list=${$props.list}` : '')
" "
:title="$props.title" :title="$props.title"
frameborder="0" frameborder="0"