Announcement

Collapse
No announcement yet.

SoundCloud BBCode

Collapse
X
Collapse
First Prev Next Last
  • Filter
  • Time
  • Show
Clear All
new posts

    Official - Free SoundCloud BBCode

    Integrate SoundCloud audio embed into your forums using custom BB Codes.

    Go to AdminCP > Custom BB Codes > Add New BB Code and enter the following information:

    Title: SoundCloud
    BB Code Tag Name: soundcloud
    Replacement:

    Code:
    <iframe width="100%" height="300" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{param}&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true"></iframe>
    Example: [soundcloud]TrackIdHere[/soundcloud]
    Other Options: Select Yes to all starting from "Remove Tag If Empty" option (for Button Image option, you could specify image path. If specified, a new button for this BB Code will appear in the editor)

    To find out the track ID in SoundCloud.com, click the Share button, then click Embed tab. The track ID is in the Code and Preview textbox. Check WordPress code checkbox to see the track ID more easily.

    Code:
    api.soundcloud.com/tracks/xxxxxxxxx
    where xxxxxxxxx is the track id (e.g. 123456789)

    So a sample BB Code posting would be:

    Code:
    [soundcloud]252827242[/soundcloud]
    and it would render like this:

    Click image for larger version  Name:	soundcloud.png Views:	1 Size:	30.3 KB ID:	5141

    #2
    I added this. Works fine at https://forums.hosting/forum/other-f...xed-by-hinsley

    Many thanks for this mod glennrocksvb
    Web Hosting UK | Fastest Hosting | WordPress Hosting | Reseller Hosting | cPanel Hosting | Managed VPS | SSD Hosting | Web Hosting Forum

    Comment


      #3
      I have got only:
      "You have not provided a valid SoundCloud URL. Learn more about using SoundCloud players"


      Need to write code:
      Code:
      <iframe allowtransparency="true" scrolling="no" frameborder="no" src="https://w.soundcloud.com/icon/?url=http%3A%2F%2Fsoundcloud.com%2Fundefined&color=orange_white&size=32" style="width: 32px; height: 32px;"></iframe>

      Comment


        #4
        Did you follow the steps mentioned in the first post?

        Comment

        Working...
        X