Reference Guide

facebook FBML Reference Guide Page 43 of 159
Fb:mp3
Description
Renders a flash-based audio player.
Attributes
Required Name Type Description
required src
string
The URL of the audio file. The URL must be absolute.
optional title
string
The name of the song.
artist
string
The name of the artist performing the song.
album
string
The title of the album.
width
int
The width of the player in pixels. (default value is 300)
height
int
The height of the player in pixels. (default value is 29)
Examples
<fb:mp3 src="http://host.com/file.mp3" title="Song Name" artist="Song Artist" />
Notes
The src attribute must point directly to the mp3 file,
[possible bug?][who says?]
and cannot be played by a query
string (for example, "songs.php?songid=35911").
Supported formats include .mp3.
.wav files are not supported
[possible bug?]
.
File's bitrate must me in increments of 11KHz (11KHz, 22KHz, 44.1 KHz all work).
File must end in .mp3 (for example, /location/1385097 will not work).
Song name, artist, and album must be in ASCII characters or does not display correctly. i.e. Song names
in Chinese do not display in Chinese but in gibberish or not at all
[possible bug?]
.
See Also
fb:flv
fb:swf
www.yapish.com