2014-10-08, 05:14 PM
I've seen plenty of Soundcloud embedding, but very little in regard to supporting embedding pre-made playlists.
The Regular Expression is (set the tags as whatever you wish);
The Replacement is;
Change color=a4ce71 to a hex value that better matches your forum theme if you need.
If I wanted to embed this album/playlist from CLPPNG; https://soundcloud.com/subpop/sets/clipping-clppng
This is what you end up with in a post
![[Image: 0WGCd39.png]](https://camo.mybb.com/f174aac70c6fb3807be70a9e2f5cd9851de4b706/68747470733a2f2f692e696d6775722e636f6d2f305747436433392e706e67)
The Regular Expression is (set the tags as whatever you wish);
\[YourTag\](https?:\/\/(.*?)?soundcloud\.com\/[a-z0-9\-\/]*)\[/YourTag\]
The Replacement is;
<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=$1&color=a4ce71&auto_play=false&show_artwork=true"></iframe>
Change color=a4ce71 to a hex value that better matches your forum theme if you need.
If I wanted to embed this album/playlist from CLPPNG; https://soundcloud.com/subpop/sets/clipping-clppng
This is what you end up with in a post