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
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.
for downloading: Library: youtubetag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|