2 minutes reading time (211 words)

A simple, responsive SoundCloud <iframe> embed for Joomla 6. No external JS/CSS; everything is self‑contained and responsive (100% width).

  • Embed a track or playlist
  • Toggle common UI: Visual mode, Comments, User info, Reposts, Teaser, Hide related
  • Optional Follow button and light framing (Border/Radius)

Parameters

ParameterDefaultDescriptionWidget param
SoundCloud URLdemo trackTrack/playlist URL from soundcloud.comurl
Visual modeOnLarge artwork stylevisual=true/false
AutoplayOffAttempt autoplay (may be blocked)auto_play=true/false
LoopOffRepeat playbackloop=true/false
Accent color#ff5500Hex color for widget accentscolor=%23RRGGBB
Player height450Iframe height (px)—
Heading—Optional heading above player—
AlignmentCenterContainer alignment—
CommentsOnShow comments overlayshow_comments=true/false
User infoOnShow uploader/usershow_user=true/false
RepostsOffShow repostsshow_reposts=true/false
TeaserOnShow teasersshow_teaser=true/false
Hide relatedOffHide related trackshide_related=true/false
Follow buttonOffAdds a CTA below player—
Follow textFollow on SoundCloudButton label—
Follow URL(blank)Destination (falls back to player URL)—
BorderOffThin border around player—
Radius8Corner radius when border is on—
Module Class Suffix—Extra CSS hook—
Lazy‑load iframeOnDefer loading near viewportloading="lazy" (HTML)

Styling Tips

Target the module via its wrapper class (e.g., .mod-scmp) and your Module Class Suffix. Keep overrides in your template assets.

/* Example (template CSS) */
.mod-scmp.scmp-alt .mod-scmp__btn { border-color: #ff5500; }
.mod-scmp.scmp-alt .mod-scmp__heading { font-weight: 700; }