diff --git a/app/embeds/Spotify.js b/app/embeds/Spotify.js index 317283091..bb0fc49e3 100644 --- a/app/embeds/Spotify.js +++ b/app/embeds/Spotify.js @@ -25,11 +25,21 @@ export default class Spotify extends React.Component { render() { const normalizedPath = this.pathname.replace(/^\/embed/, "/"); + var height; + + if (normalizedPath.includes("episode") || normalizedPath.includes("show")) { + height = 232; + } else if (normalizedPath.includes("track")) { + height = 80; + } else { + height = 380; + } + return (