embed spotify podcasts
This commit is contained in:
parent
821ac60de5
commit
855afcb1de
|
@ -119,7 +119,7 @@ export function parseEmbedUrl (href) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hostname.endsWith('spotify.com') && pathname.startsWith('/track')) {
|
if (hostname.endsWith('spotify.com') && (pathname.startsWith('/track') || pathname.startsWith('/episode'))) {
|
||||||
return {
|
return {
|
||||||
provider: 'spotify'
|
provider: 'spotify'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue