mirror of https://github.com/FreeTubeApp/FreeTube
* Make top nav able to parse sharable video URL with playlist param (#4548)
This commit is contained in:
parent
57d4216bdd
commit
251abe4241
|
@ -572,6 +572,7 @@ export function getVideoParamsFromUrl(url) {
|
|||
function () {
|
||||
if (urlObject.host === 'youtu.be' && /^\/[\w-]+$/.test(urlObject.pathname)) {
|
||||
extractParams(urlObject.pathname.slice(1))
|
||||
paramsObject.playlistId = urlObject.searchParams.get('list')
|
||||
return paramsObject
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue