Skip to content

Commit 20a10d6

Browse files
committed
fix(explore): correct soundcloud url
1 parent 5afae60 commit 20a10d6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pages/ExploreSetPage/SetExploreCard/SetAudioPlayer.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ export function SetAudioPlayer({
1111
return null;
1212
}
1313

14-
// Build SoundCloud iframe URL with parameters
1514
const baseUrl = "https://w.soundcloud.com/player/";
16-
const encodedUrl = encodeURIComponent(soundcloudUrl);
1715
const params = new URLSearchParams({
18-
url: encodedUrl,
16+
url: soundcloudUrl,
1917
auto_play: "true",
2018
color: "8b5cf6",
2119
buying: "false",
@@ -25,7 +23,6 @@ export function SetAudioPlayer({
2523
show_user: "false",
2624
single_active: "true",
2725
download: "false",
28-
// start_track: "0",
2926
});
3027
const widgetUrl = `${baseUrl}?${params.toString()}`;
3128

0 commit comments

Comments
 (0)