FANDOM


Music-notes

You can include audio on your community via a few different methods, including SoundCloud and Spotify.

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:

If you're embedding a single song, you'll want to make use of the height parameter to reduce the height of the player:

<soundcloud url="https://soundcloud.com/hype-artists/hyp061-01-the-birds-of-the" height="166" />

This will generate a player like the following:

Other useful parameters are listed on SoundCloud's documentation.

Spotify

Spotify CopyURI

How to copy a Spotify song or artist URI

Spotify Playlist URI

How to copy a Spotify playlist or album URI

To embed a Spotify player, right-click any song or artist in the Spotify player's bottom-left corner. Select Share > 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 at 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 the following:

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:

It's important to remember 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 a supported format such as OGG. Embedding audio is similar to adding a photo:

  • Go to Special:Upload on your community.
  • Upload your supported audio file, and make a note of the file name.
  • Open an article for editing.
  • Enter the following wikitext to embed your audio file (replacing "example" with whatever your filename is):
    [[File:Example.ogg]]
  • Save your article. It should display an audio player as seen here (example from Wikipedia):
    ExampleOGGfromWikipedia

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]]

AppleOgg

What happens when a Safari or iOS user tries to access OGG content

However, Apple products 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, Mac OS users have the ability to just use another browser which 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

Because MP3 is not a free/open-source format, the MediaWiki software cannot provide an integrated player for MP3 files, and we do not support the format by default.

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 contact FANDOM to discuss your situation further.

See also

Further Help & Feedback