Navigation menu

WoW:API PlayMusic: Difference between revisions

Jump to navigation Jump to search
m
Client restart required when adding files it has not seen yet.
m (Client restart required when adding files it has not seen yet.)
Line 16: Line 16:
*You cannot pause the playback, but you can stop it with [[API_StopMusic|StopMusic()]].
*You cannot pause the playback, but you can stop it with [[API_StopMusic|StopMusic()]].
*You cannot use this function to play custom MP3 files located outside an addon's directory.  
*You cannot use this function to play custom MP3 files located outside an addon's directory.  
*To play MP3 files that were added to an addon's directory after WoW has been launched you will first have to reload the UI.
*To play MP3 files that were added to an addon's directory after WoW has been launched you will first have to restart the game client.
*If any of the built-in music is playing when you call this function (e.g. Stormwind background music), it will fade out.
*If any of the built-in music is playing when you call this function (e.g. Stormwind background music), it will fade out.
*(Verified): since World of Warcraft uses the FMOD sound engine, it is very likely that other file formats than mp3 are supported. For example OggVorbis (.ogg).
*(Verified): since World of Warcraft uses the FMOD sound engine, it is very likely that other file formats than mp3 are supported. For example OggVorbis (.ogg).
*The playback loops until it is stopped with [[API_StopMusic|StopMusic()]].
*The playback loops until it is stopped with [[API_StopMusic|StopMusic()]].
Anonymous user