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%"
|
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"
|
||||||
|
|||||||
Reference in new issue
Block a user