rb:mp3

Description

Renders a flash-based audio player.


Attributes

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)

Notes

  • The src attribute must point directly to the mp3 file, and cannot be played by a query string (for example, "songs.php?songid=35911").
  • Supported formats include .mp3.
  • .wav files are not supported.
  • 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).

See Also