youtube embed playlist may also accept current video id
This commit is contained in:
1 parent
e68493ba35
commit
4703409a35
1 file changed
+2
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user