Fandom Developers Wiki
Advertisement
Fandom Developers Wiki

NOTE

This script will be removed when Fandom adds actual support for soundcloud players. If you use the provided template your players will automatically switch


The SoundcloudPlayer script adds support for soundcloud players to UCP wikis.

Installation

Add the script to your wiki's ImportJS:

Create a {{SoundcloudPlayer}} template:

Usage

The SoundcloudPlayer template supports several parameters to allow you to configure the player:

  • url: The url of the soundcloud song;
  • width: How wide the player should be;
  • height: How tall the player should be;
  • color: The color of the player button

Examples

Simple:

{{SoundcloudPlayer|url=https://soundcloud.com/producerminoffice/soundtemp-m-i-s-a}}

Setting the width and height:

{{SoundcloudPlayer|url=https://soundcloud.com/producerminoffice/soundtemp-m-i-s-a|width=20|height=20}}

Setting the button color:

{{SoundcloudPlayer|url=https://soundcloud.com/producerminoffice/soundtemp-m-i-s-a|color=#456202}}

Text above can be found here (edit)
Advertisement