YouTube taglib ver. 1.2

    JSP custom taglib for YouTube acceess. Tag YouTube lets you output XHTML code for YouTube player. And tag YouTubeVideo lets you download video from YouTube page. For example:
 


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

<y:YouTube>http://www.youtube.com/v/XiOgCSi1jlg</y:YouTube>

and you will get this:

Tag YouTubeVideo lets you obtain an URL for the direct video downloading.

Tags are:

YouTube

Body tag lets you output XHTML code for YouTube (Flash) player. Tag's body describes a movie URL. Attributes are:

1) width Optional attribute. Describes a width. Default value is 425px
2) height Optional attribute. Describes a height. Default value is 350px.

YouTubeVideo

Body tag lets you get URL for video downloading from YouTube. Tag's body describes an YouTube page URL. Attributes are:

1) id Optional attribute. Describes a name for page scope variable (type is java.lang.String) with data. Without this attribute tag simply prints the data.
2) proxyHost Optional attribute. Describes a proxy settings for your host
3) proxyPort Optional attribute. Describes a proxy settings for your host

for downloading:

Library: youtubetag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: