Adjust size of spotify embed
authorMarcel Werk <burntime@woltlab.com>
Thu, 10 Aug 2023 14:11:11 +0000 (16:11 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 10 Aug 2023 14:11:11 +0000 (16:11 +0200)
com.woltlab.wcf/mediaProvider.xml

index d914d78d08f6fc2b17eb6ec12ae12f1968cdca5c..585504427ab071484d304be20c0ca5e558b070f1 100644 (file)
@@ -53,7 +53,7 @@ https?://open.spotify.com/user/(?<USER>[0-9a-zA-Z]+)/playlist/(?<ID>[0-9a-zA-Z]+
                        <title>Spotify</title>
                        <regex><![CDATA[https?://play.spotify.com/(.*/|)(?<TYPE>[a-zA-Z]+)/(?<ID>[0-9a-zA-Z]+)
 https?://open.spotify.com/(.*/|)(?<TYPE>[a-zA-Z]+)/(?<ID>[0-9a-zA-Z]+)]]></regex>
-                       <html><![CDATA[<iframe style="border-radius:12px" src="https://open.spotify.com/embed/{$TYPE}/{$ID}" width="100%" height="352" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>]]></html>
+                       <html><![CDATA[<iframe style="border-radius:12px" src="https://open.spotify.com/embed/{$TYPE}/{$ID}" width="400" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>]]></html>
                </provider>
                <provider name="twitch">
                        <title>Twitch</title>