embed spotify podcasts

This commit is contained in:
k00b 2024-09-10 15:11:46 -05:00
parent 821ac60de5
commit 855afcb1de
1 changed files with 1 additions and 1 deletions

View File

@ -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 {
provider: 'spotify'
}