HTML5 Core Comp Lib.
Tag mediaSource


Provides media sources for media components. This should be nested inside of an instance of {@link MediaSourceHolder} . Creates a {@link MediaInfo} and adds it to parent component's media info set.
Even if 'disabled' is set to true, created {@link MediaInfo} instance will be added. In this case, renderer of the parent media component should ignore that instance.


Tag Information
Tag Classorg.apache.myfaces.html5.handler.MediaSourceHandler
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
srctruefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
URL of the media source. This attribute is required.
contentTypefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
MIME content type of the resource (for example : "video/ogg")
codecfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Codecs of the resource (for example: "avc1.64001E, mp4a.40.2"). If this property is defined, contentType property should be defined too.
mediafalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This property defines the intended media type of the media resource, to help the browser determine if this media resource is useful to the user before fetching it. Its value must be a valid media query. Just like the "@media" declaration in CSS.
disabledfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
If set to true, renderer of the parent{@link MediaSourceHolder} will ignore this resource.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.