HTML5 Html Comp Lib.
Tag video


Component that represents HTML5 video element.


Tag Information
Tag Classorg.apache.myfaces.html5.tag.media.VideoTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
posterfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This property defines an image to show when no video data is available.
widthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Width of the video. Can be in pixels, or percent.
heightfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Height of the video. Can be in pixels, or percent.
preloadfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Returns the preloading behavior of the component. Default to null, which delegates preloading method selection to browser. Can be one of
  • "none": Do not preload the media from the server
  • "metadata": Fetch metadata (length, quality, etc.)
  • "auto": Load the data from the server, even if user have not choose to play it.
Browsers should use "metadata" preloading, if not specified.
showControlsfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
This property is to show/hide browser's media controls. If true, browser's media controls are shown (default). If false, controls are not shown and page author needs to provide controls explicitly.
loopfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
If this property is set, media will seek back to start when it reaches the end.
autoplayfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
If this property is set, media will start playing as soon as the page loads.
accesskeyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Sets the access key for this element.
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the element is clicked.
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the element is double-clicked.
onblurfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Specifies a script to be invoked when the element loses focus.
onfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Specifies a script to be invoked when the element receives focus.
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the pointing device is pressed over this element.
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the pointing device is moved while it is in this element.
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the pointing device is moves out of this element.
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the pointing device is moved into this element.
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the pointing device is released over this element.
onmousewheelfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when the pointing device is wheeled over this element.
dirfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: The base language of this document.
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: An advisory title for this element. Often used by the user agent as a tooltip.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: CSS styling instructions.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The CSS class for this element. Corresponds to the HTML 'class' attribute.
hiddenfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
HTML: Whether the element is relevant.
draggablefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
HTML: Specifies whether the element is draggable.
ondragfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the element is dragged.
ondragendfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the drag operation is ended. Successfully or not, this handler will run.
ondragenterfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the element is dragged into a valid drop target.
ondragleavefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the element leaves a valid drop target.
ondragoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the element is being dragged over a valid drop target.
ondragstartfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the drag operation starts.
ondropfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the element is being dropped.
animationEndfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML : Script to run when the animation ends on Html element.
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when a key is pressed down over this element.
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when a key is pressed over this element.
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Script to be invoked when a key is released over this element.
onendedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the playback has stopped because the end of the media resource was reached.
onerrorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when an error occurs while fetching the media data.
onloadeddatafalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when browser can render the media data at the current playback position for the first time.
onloadedmetadatafalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when browser has just determined the duration and dimensions of the media resource and the timed tracks are ready.
onloadstartfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when browser begins looking for media data, as part of the resource selection algorithm.
onpausefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the playback has been paused. Fired after the pause() method has returned.
onplayfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the playback has begun. Fired after the play() method has returned, or when the autoplay attribute has caused playback to begin.
onplayingfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the playback has started.
onprogressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired while browser is fetching media data.
onseekedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when a seek operation is finished.
onseekingfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired if the seek operation is taking long enough that the browser has time to fire the event.
onvolumechangefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when either the volume attribute or the muted attribute has changed. Fired after the relevant attribute's setter has returned.
onwaitingfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Handler for event that is fired when the playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course.
tabindexfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: Specifies the position of this element within the tab order of the document.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Gets The initial value of this component.
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
An expression that specifies the Converter for this component.

The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface.

idfalsetruejava.lang.StringGet a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that indicates whether this component should be rendered. Default value: true.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.

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.