@Bean(typeName="video") public class Video extends HtmlElementContainer
Constructor and Description |
---|
Video() |
Modifier and Type | Method and Description |
---|---|
Video |
_class(String _class)
class attribute.
|
Video |
autoplay(Object autoplay)
autoplay
attribute.
|
Video |
child(Object child)
Adds a child element to this element.
|
Video |
children(Object... children)
Adds one or more child elements to this element.
|
Video |
controls(Object controls)
controls
attribute.
|
Video |
crossorigin(String crossorigin)
crossorigin
attribute.
|
Video |
height(Object height)
height
attribute.
|
Video |
id(String id)
id attribute.
|
Video |
loop(Object loop)
loop attribute.
|
Video |
mediagroup(String mediagroup)
mediagroup
attribute.
|
Video |
muted(Object muted)
muted
attribute.
|
Video |
poster(String poster)
poster
attribute.
|
Video |
preload(String preload)
preload
attribute.
|
Video |
src(Object src)
src attribute.
|
Video |
style(String style)
style attribute.
|
Video |
width(Object width)
width attribute.
|
getChild, getChild, getChild, getChildren, setChildren
accesskey, attr, attrUri, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, tabindex, title, toString, translate
public Video()
public final Video autoplay(Object autoplay)
Hint that the media resource can be started automatically when the page is loaded.
public final Video crossorigin(String crossorigin)
How the element handles cross-origin requests.
crossorigin
- The new value for this attribute.public final Video mediagroup(String mediagroup)
Groups media elements together with an implicit MediaController.
mediagroup
- The new value for this attribute.public final Video muted(Object muted)
Whether to mute the media resource by default.
public final Video poster(String poster)
Poster frame to show prior to video playback.
poster
- The new value for this attribute.public final Video preload(String preload)
Hints how much buffering the media resource will likely need.
preload
- The new value for this attribute.public final Video src(Object src)
Address of the resource.
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
public final Video _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Video id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Video style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public final Video children(Object... children)
HtmlElementContainer
children
in class HtmlElementContainer
children
- The children to add as child elements.public final Video child(Object child)
HtmlElementContainer
child
in class HtmlElementContainer
child
- The child to add as a child element.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.