Skip to content

Commit

Permalink
* Make top nav able to parse sharable video URL with playlist param
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Jan 15, 2024
1 parent 9d486d9 commit e9d9fe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand Down

0 comments on commit e9d9fe7

Please sign in to comment.