We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ba83b4 commit 73e18faCopy full SHA for 73e18fa
1 file changed
19hz/map.js
@@ -492,8 +492,8 @@ window.updateSpotifyPlayer = async function(artistName) {
492
}
493
494
if (artistId) {
495
- // Use the proper artist embed URL with the artist ID
496
- spotifyPlayer.src = `https://open.spotify.com/embed/artist/${artistId}`;
+ // Use the proper artist embed URL with the artist ID and enable autoplay
+ spotifyPlayer.src = `https://open.spotify.com/embed/artist/${artistId}?autoplay=1`;
497
spotifyPlayer.style.display = 'block';
498
} else {
499
console.warn(`Could not find Spotify artist ID for: ${artistName}`);
0 commit comments