Community Central
Register
Community Central
Music-notes

You can include audio on your community via a few different methods, including Spotify and the direct upload of audio to your wiki. You should be aware, however, that no single audio solution works in every situation, or for all users.

SoundCloud[]

To embed a SoundCloud player, simply copy the URL of the page, then use the following code:

<soundcloud url="https://soundcloud.com/destructoid/sets/the-legend-of-zelda-twilight" />

This will generate a player like the following:

The SoundCloud tag respects many of EmbedVideo's formatting attributes — namely, dimensions="", alignment="", and description="". A formatted example might look like:

<soundcloud url="https://soundcloud.com/destructoid/sets/the-legend-of-zelda-twilight" dimensions="300x500" alignment="center" description="This is a track-list."/>

Generating the following:

This is a track-list.

Being rendered through EmbedVideo, SoundCloud audio can be embedded using any of that extension's parser functions or even the <embedvideo> tag. Simple usage instructions of the #ev parser function are available at Help:EmbedVideo, and an exhaustive list of the EmbedVideo extension's methods and syntaxes is available here.

Spotify[]

Spotify CopyURI

How to copy a Spotify song or artist URI

Spotify Playlist URI

How to copy a Spotify playlist or album URI

For Mac users, you can right-click any song or artist in the Spotify player's bottom-left corner. Select Share > Copy Spotify URI.

For Windows users, you need to press the three dots right next to the heart icon, or the Follow Button. Then, select Share > Press Alt > Copy Spotify URI.

Albums and playlists may also be embedded. Their share buttons are likewise found at Share > Copy Spotify URI — but the share button is under a menu closer to the album or playlist's name. See the pictures on the right for more guidance.

Once you've copied the URI you want, put it between the quotation marks in the following example code:

<spotify uri="spotify:artist:5JkgywsS3vj9XiIPkLRbyk" />

This will generate a player like this:

You can change the height and width of your player by adding those parameters after the URI. The following code ...

<spotify uri="spotify:artist:5JkgywsS3vj9XiIPkLRbyk" height="80" width="300"/>

... results in a player that looks like this:

Inside an infobox that takes the spotify URI as an argument requires the use of {{#tag:}} like so:

{{#tag:spotify||uri="{{{spotify}}}"|height="80"|width="280"}}

Understand that Spotify may require users to sign in to hear whole tracks and that the service itself is not available in all countries. You can see which countries Spotify supports on Wikipedia.

Audio files[]

You can upload audio files to Fandom if they're in certain formats. Embedding audio is similar to adding a photo:

File type support[]

No audio format is playable on all browsers which Fandom supports.

OGG[]

For audio files, the open-source format Ogg Vorbis (OGG), which does not require proprietary software to record or play, works on a number of our supported browsers. You can embed and play OGG files directly from any page by adding a link to the file like this: [[File:Name.ogg]]. Make sure to do this in Source.

AppleOgg

What happens when a user without a supported player software on its system tries to access OGG content

However, some products (such as Apple's Mac) do not support the OGG format, and third-party solutions haven't worked for many years. Consequently, neither Safari nor almost any browser used by iOS can play the OGG format. If you choose to use OGG files instead of, say, SoundCloud, substantial parts of your audience may not be able to access your audio.

Happily, macOS users have the ability to just use another browser that has OGG support, like Firefox. That's not the case for iOS users, though, where most every browser is based on Safari. So, using OGG means losing that hefty group of users on iOS.

MP3[]

Previously, Fandom did not support the MP3 format because it was covered by patents and therefore non-free. MediaWiki also did not provide an integrated player for MP3 files. Patents covering that format have expired, and with UCP, the newer MediaWiki version came with tools to support MP3 uploads and enabled them. The MP3 format, however, was not intended to be enabled for the Unified Platform: while using the format on Fandom is no longer a legal issue per se, its very high popularity creates a substantial risk of users uploading copyright-violating music tracks to wikis. As such, MP3 uploads may be disabled in the future, and so it is not recommended to rely on continued support for this format on Fandom.

Other formats[]

There are many other formats for audio files that Fandom does not support by default. If your community has a strong need for audio in other formats, please feel free to contact Fandom to discuss your situation further.

See also[]

Further Help & Feedback[]