From 855afcb1de6227f64743a80e78bfcbc30ec0ab28 Mon Sep 17 00:00:00 2001 From: k00b Date: Tue, 10 Sep 2024 15:11:46 -0500 Subject: [PATCH] embed spotify podcasts --- lib/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.js b/lib/url.js index 1f6fb1fb..d06b1c15 100644 --- a/lib/url.js +++ b/lib/url.js @@ -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' }