MP3 player taglib ver. 1.2

    Custom JSP taglib. This taglib lets you embed an MP3 file into a web page so that visitors can listen to the audio right in the browser itself without requiring an external player. Taglib simply adds Google Flash player for the given mp3 file. E.g.:
 


<%@ taglib uri="taglib.tld" prefix="p" %>

<p:MP3Player>http://servletsuite.com/unofficial-yahoo-song.mp3</p:MP3Player>

and you will get this:
 

Tags are:

MP3Player

Body tag adds flash player for mp3 files. Tag's body describes an URL for mp3 file. Attributes are:

1) width Optional attribute. Describes a width for the player. Default value is 400.
2) height Optional attribute. Describes a height. Default value is 27.
3) bgcolor Optional attribute. Describes a background color. Default value is #ffffff.
 

for downloading:

Library: mp3linktag.jar    Description: taglib.tld

© Coldbeans Software      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: