FANDOM


Music-notes

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

SoundCloudEdit

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.

SpotifyEdit

Help-Spotify

A Spotify player

To embed a Spotify player, right-click any song, artist, album or playlist in the Spotify player and select "Copy Spotify URI".

Replace the URI with your copied one in the following code:

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

This will generate a player like the following:

We support the theme, view, width and height parameters, as detailed in Spotify's documentation. For example:

<spotify uri="spotify:track:0mlWZB9nx3D3aERgf7UHwj" theme="white" />

This will generate a player like the following:

Note that Spotify itself is not available in all countries - you can see which countries Spotify supports on Wikipedia.

Audio filesEdit

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 supportEdit

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

OGG Edit

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 Edit

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 Edit

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 Edit

Further Help & FeedbackEdit