Package org.apache.juneau.dto.html5
Class Video
java.lang.Object
org.apache.juneau.dto.html5.HtmlElement
org.apache.juneau.dto.html5.HtmlElementContainer
org.apache.juneau.dto.html5.Video
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclass attribute.accesskey attribute.final Video
autoplay attribute.Adds a child element to this element.Adds one or more child elements to this element.contenteditable
(Object contenteditable) contenteditable attribute.final Video
controls attribute.final Video
crossorigin
(String crossorigin) crossorigin attribute.dir attribute.final Video
height attribute.hidden attribute.id attribute.lang attribute.final Video
loop attribute.final Video
mediagroup
(String mediagroup) mediagroup attribute.final Video
muted attribute.onabort attribute.onblur attribute.oncancel attribute.oncanplay attribute.oncanplaythrough
(String oncanplaythrough) oncanplaythrough attribute.onchange attribute.onclick attribute.oncuechange
(String oncuechange) oncuechange attribute.ondblclick
(String ondblclick) ondblclick attribute.ondurationchange
(String ondurationchange) ondurationchange attribute.onemptied attribute.onended attribute.onerror attribute.onfocus attribute.oninput attribute.oninvalid attribute.onkeydown attribute.onkeypress
(String onkeypress) onkeypress attribute.onkeyup attribute.onload attribute.onloadeddata
(String onloadeddata) onloadeddata attribute.onloadedmetadata
(String onloadedmetadata) onloadedmetadata attribute.onloadstart
(String onloadstart) onloadstart attribute.onmousedown
(String onmousedown) onmousedown attribute.onmouseenter
(String onmouseenter) onmouseenter attribute.onmouseleave
(String onmouseleave) onmouseleave attribute.onmousemove
(String onmousemove) onmousemove attribute.onmouseout
(String onmouseout) onmouseout attribute.onmouseover
(String onmouseover) onmouseover attribute.onmouseup attribute.onmousewheel
(String onmousewheel) onmousewheel attribute.onpause attribute.onplay attribute.onplaying attribute.onprogress
(String onprogress) onprogress attribute.onratechange
(String onratechange) onratechange attribute.onreset attribute.onresize attribute.onscroll attribute.onseeked attribute.onseeking attribute.onselect attribute.onshow attribute.onstalled attribute.onsubmit attribute.onsuspend attribute.ontimeupdate
(String ontimeupdate) ontimeupdate attribute.ontoggle attribute.onvolumechange
(String onvolumechange) onvolumechange attribute.onwaiting attribute.final Video
poster attribute.final Video
preload attribute.spellcheck
(Object spellcheck) spellcheck attribute.final Video
src attribute.style attribute.tabindex attribute.title attribute.translate attribute.final Video
width attribute.Methods inherited from class org.apache.juneau.dto.html5.HtmlElementContainer
getChild, getChild, getChild, getChildren, setChildren
Methods inherited from class org.apache.juneau.dto.html5.HtmlElement
attr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
-
Constructor Details
-
Video
public Video()Creates an emptyVideo
element. -
Video
Creates aVideo
element with the specifiedsrc(Object)
attribute.- Parameters:
src
- Thesrc(Object)
attribute.
-
-
Method Details
-
autoplay
autoplay attribute.Hint that the media resource can be started automatically when the page is loaded.
-
controls
controls attribute.Show user agent controls.
-
crossorigin
crossorigin attribute.How the element handles cross-origin requests.
- Parameters:
crossorigin
- The new value for this attribute.- Returns:
- This object.
-
height
height attribute.Vertical dimension.
-
loop
loop attribute.Whether to loop the media resource.
-
mediagroup
mediagroup attribute.Groups media elements together with an implicit MediaController.
- Parameters:
mediagroup
- The new value for this attribute.- Returns:
- This object.
-
muted
muted attribute.Whether to mute the media resource by default.
-
poster
poster attribute.Poster frame to show prior to video playback.
- Parameters:
poster
- The new value for this attribute.- Returns:
- This object.
-
preload
preload attribute.Hints how much buffering the media resource will likely need.
- Parameters:
preload
- The new value for this attribute.- Returns:
- This object.
-
src
src attribute.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. -
width
width attribute.Horizontal dimension.
-
_class
Description copied from class:HtmlElement
class attribute.- Overrides:
_class
in classHtmlElementContainer
- Parameters:
_class
- The new value for this attribute.- Returns:
- This object.
-
accesskey
Description copied from class:HtmlElement
accesskey attribute.- Overrides:
accesskey
in classHtmlElementContainer
- Parameters:
accesskey
- The new value for this attribute.- Returns:
- This object.
-
contenteditable
Description copied from class:HtmlElement
contenteditable attribute.- Overrides:
contenteditable
in classHtmlElementContainer
- Parameters:
contenteditable
- The new value for this attribute. Typically aBoolean
orString
.- Returns:
- This object.
-
dir
Description copied from class:HtmlElement
dir attribute.- Overrides:
dir
in classHtmlElementContainer
- Parameters:
dir
- The new value for this attribute.- Returns:
- This object.
-
id
Description copied from class:HtmlElement
id attribute.- Overrides:
id
in classHtmlElementContainer
- Parameters:
id
- The new value for this attribute.- Returns:
- This object.
-
lang
Description copied from class:HtmlElement
lang attribute.- Overrides:
lang
in classHtmlElementContainer
- Parameters:
lang
- The new value for this attribute.- Returns:
- This object.
-
onabort
Description copied from class:HtmlElement
onabort attribute.- Overrides:
onabort
in classHtmlElementContainer
- Parameters:
onabort
- The new value for this attribute.- Returns:
- This object.
-
onblur
Description copied from class:HtmlElement
onblur attribute.- Overrides:
onblur
in classHtmlElementContainer
- Parameters:
onblur
- The new value for this attribute.- Returns:
- This object.
-
oncancel
Description copied from class:HtmlElement
oncancel attribute.- Overrides:
oncancel
in classHtmlElementContainer
- Parameters:
oncancel
- The new value for this attribute.- Returns:
- This object.
-
oncanplay
Description copied from class:HtmlElement
oncanplay attribute.- Overrides:
oncanplay
in classHtmlElementContainer
- Parameters:
oncanplay
- The new value for this attribute.- Returns:
- This object.
-
oncanplaythrough
Description copied from class:HtmlElement
oncanplaythrough attribute.- Overrides:
oncanplaythrough
in classHtmlElementContainer
- Parameters:
oncanplaythrough
- The new value for this attribute.- Returns:
- This object.
-
onchange
Description copied from class:HtmlElement
onchange attribute.- Overrides:
onchange
in classHtmlElementContainer
- Parameters:
onchange
- The new value for this attribute.- Returns:
- This object.
-
onclick
Description copied from class:HtmlElement
onclick attribute.- Overrides:
onclick
in classHtmlElementContainer
- Parameters:
onclick
- The new value for this attribute.- Returns:
- This object.
-
oncuechange
Description copied from class:HtmlElement
oncuechange attribute.- Overrides:
oncuechange
in classHtmlElementContainer
- Parameters:
oncuechange
- The new value for this attribute.- Returns:
- This object.
-
ondblclick
Description copied from class:HtmlElement
ondblclick attribute.- Overrides:
ondblclick
in classHtmlElementContainer
- Parameters:
ondblclick
- The new value for this attribute.- Returns:
- This object.
-
ondurationchange
Description copied from class:HtmlElement
ondurationchange attribute.- Overrides:
ondurationchange
in classHtmlElementContainer
- Parameters:
ondurationchange
- The new value for this attribute.- Returns:
- This object.
-
onemptied
Description copied from class:HtmlElement
onemptied attribute.- Overrides:
onemptied
in classHtmlElementContainer
- Parameters:
onemptied
- The new value for this attribute.- Returns:
- This object.
-
onended
Description copied from class:HtmlElement
onended attribute.- Overrides:
onended
in classHtmlElementContainer
- Parameters:
onended
- The new value for this attribute.- Returns:
- This object.
-
onerror
Description copied from class:HtmlElement
onerror attribute.- Overrides:
onerror
in classHtmlElementContainer
- Parameters:
onerror
- The new value for this attribute.- Returns:
- This object.
-
onfocus
Description copied from class:HtmlElement
onfocus attribute.- Overrides:
onfocus
in classHtmlElementContainer
- Parameters:
onfocus
- The new value for this attribute.- Returns:
- This object.
-
oninput
Description copied from class:HtmlElement
oninput attribute.- Overrides:
oninput
in classHtmlElementContainer
- Parameters:
oninput
- The new value for this attribute.- Returns:
- This object.
-
oninvalid
Description copied from class:HtmlElement
oninvalid attribute.- Overrides:
oninvalid
in classHtmlElementContainer
- Parameters:
oninvalid
- The new value for this attribute.- Returns:
- This object.
-
onkeydown
Description copied from class:HtmlElement
onkeydown attribute.- Overrides:
onkeydown
in classHtmlElementContainer
- Parameters:
onkeydown
- The new value for this attribute.- Returns:
- This object.
-
onkeypress
Description copied from class:HtmlElement
onkeypress attribute.- Overrides:
onkeypress
in classHtmlElementContainer
- Parameters:
onkeypress
- The new value for this attribute.- Returns:
- This object.
-
onkeyup
Description copied from class:HtmlElement
onkeyup attribute.- Overrides:
onkeyup
in classHtmlElementContainer
- Parameters:
onkeyup
- The new value for this attribute.- Returns:
- This object.
-
onload
Description copied from class:HtmlElement
onload attribute.- Overrides:
onload
in classHtmlElementContainer
- Parameters:
onload
- The new value for this attribute.- Returns:
- This object.
-
onloadeddata
Description copied from class:HtmlElement
onloadeddata attribute.- Overrides:
onloadeddata
in classHtmlElementContainer
- Parameters:
onloadeddata
- The new value for this attribute.- Returns:
- This object.
-
onloadedmetadata
Description copied from class:HtmlElement
onloadedmetadata attribute.- Overrides:
onloadedmetadata
in classHtmlElementContainer
- Parameters:
onloadedmetadata
- The new value for this attribute.- Returns:
- This object.
-
onloadstart
Description copied from class:HtmlElement
onloadstart attribute.- Overrides:
onloadstart
in classHtmlElementContainer
- Parameters:
onloadstart
- The new value for this attribute.- Returns:
- This object.
-
onmousedown
Description copied from class:HtmlElement
onmousedown attribute.- Overrides:
onmousedown
in classHtmlElementContainer
- Parameters:
onmousedown
- The new value for this attribute.- Returns:
- This object.
-
onmouseenter
Description copied from class:HtmlElement
onmouseenter attribute.- Overrides:
onmouseenter
in classHtmlElementContainer
- Parameters:
onmouseenter
- The new value for this attribute.- Returns:
- This object.
-
onmouseleave
Description copied from class:HtmlElement
onmouseleave attribute.- Overrides:
onmouseleave
in classHtmlElementContainer
- Parameters:
onmouseleave
- The new value for this attribute.- Returns:
- This object.
-
onmousemove
Description copied from class:HtmlElement
onmousemove attribute.- Overrides:
onmousemove
in classHtmlElementContainer
- Parameters:
onmousemove
- The new value for this attribute.- Returns:
- This object.
-
onmouseout
Description copied from class:HtmlElement
onmouseout attribute.- Overrides:
onmouseout
in classHtmlElementContainer
- Parameters:
onmouseout
- The new value for this attribute.- Returns:
- This object.
-
onmouseover
Description copied from class:HtmlElement
onmouseover attribute.- Overrides:
onmouseover
in classHtmlElementContainer
- Parameters:
onmouseover
- The new value for this attribute.- Returns:
- This object.
-
onmouseup
Description copied from class:HtmlElement
onmouseup attribute.- Overrides:
onmouseup
in classHtmlElementContainer
- Parameters:
onmouseup
- The new value for this attribute.- Returns:
- This object.
-
onmousewheel
Description copied from class:HtmlElement
onmousewheel attribute.- Overrides:
onmousewheel
in classHtmlElementContainer
- Parameters:
onmousewheel
- The new value for this attribute.- Returns:
- This object.
-
onpause
Description copied from class:HtmlElement
onpause attribute.- Overrides:
onpause
in classHtmlElementContainer
- Parameters:
onpause
- The new value for this attribute.- Returns:
- This object.
-
onplay
Description copied from class:HtmlElement
onplay attribute.- Overrides:
onplay
in classHtmlElementContainer
- Parameters:
onplay
- The new value for this attribute.- Returns:
- This object.
-
onplaying
Description copied from class:HtmlElement
onplaying attribute.- Overrides:
onplaying
in classHtmlElementContainer
- Parameters:
onplaying
- The new value for this attribute.- Returns:
- This object.
-
onprogress
Description copied from class:HtmlElement
onprogress attribute.- Overrides:
onprogress
in classHtmlElementContainer
- Parameters:
onprogress
- The new value for this attribute.- Returns:
- This object.
-
onratechange
Description copied from class:HtmlElement
onratechange attribute.- Overrides:
onratechange
in classHtmlElementContainer
- Parameters:
onratechange
- The new value for this attribute.- Returns:
- This object.
-
onreset
Description copied from class:HtmlElement
onreset attribute.- Overrides:
onreset
in classHtmlElementContainer
- Parameters:
onreset
- The new value for this attribute.- Returns:
- This object.
-
onresize
Description copied from class:HtmlElement
onresize attribute.- Overrides:
onresize
in classHtmlElementContainer
- Parameters:
onresize
- The new value for this attribute.- Returns:
- This object.
-
onscroll
Description copied from class:HtmlElement
onscroll attribute.- Overrides:
onscroll
in classHtmlElementContainer
- Parameters:
onscroll
- The new value for this attribute.- Returns:
- This object.
-
onseeked
Description copied from class:HtmlElement
onseeked attribute.- Overrides:
onseeked
in classHtmlElementContainer
- Parameters:
onseeked
- The new value for this attribute.- Returns:
- This object.
-
onseeking
Description copied from class:HtmlElement
onseeking attribute.- Overrides:
onseeking
in classHtmlElementContainer
- Parameters:
onseeking
- The new value for this attribute.- Returns:
- This object.
-
onselect
Description copied from class:HtmlElement
onselect attribute.- Overrides:
onselect
in classHtmlElementContainer
- Parameters:
onselect
- The new value for this attribute.- Returns:
- This object.
-
onshow
Description copied from class:HtmlElement
onshow attribute.- Overrides:
onshow
in classHtmlElementContainer
- Parameters:
onshow
- The new value for this attribute.- Returns:
- This object.
-
onstalled
Description copied from class:HtmlElement
onstalled attribute.- Overrides:
onstalled
in classHtmlElementContainer
- Parameters:
onstalled
- The new value for this attribute.- Returns:
- This object.
-
onsubmit
Description copied from class:HtmlElement
onsubmit attribute.- Overrides:
onsubmit
in classHtmlElementContainer
- Parameters:
onsubmit
- The new value for this attribute.- Returns:
- This object.
-
onsuspend
Description copied from class:HtmlElement
onsuspend attribute.- Overrides:
onsuspend
in classHtmlElementContainer
- Parameters:
onsuspend
- The new value for this attribute.- Returns:
- This object.
-
ontimeupdate
Description copied from class:HtmlElement
ontimeupdate attribute.- Overrides:
ontimeupdate
in classHtmlElementContainer
- Parameters:
ontimeupdate
- The new value for this attribute.- Returns:
- This object.
-
ontoggle
Description copied from class:HtmlElement
ontoggle attribute.- Overrides:
ontoggle
in classHtmlElementContainer
- Parameters:
ontoggle
- The new value for this attribute.- Returns:
- This object.
-
onvolumechange
Description copied from class:HtmlElement
onvolumechange attribute.- Overrides:
onvolumechange
in classHtmlElementContainer
- Parameters:
onvolumechange
- The new value for this attribute.- Returns:
- This object.
-
onwaiting
Description copied from class:HtmlElement
onwaiting attribute.- Overrides:
onwaiting
in classHtmlElementContainer
- Parameters:
onwaiting
- The new value for this attribute.- Returns:
- This object.
-
spellcheck
Description copied from class:HtmlElement
spellcheck attribute.- Overrides:
spellcheck
in classHtmlElementContainer
- Parameters:
spellcheck
- The new value for this attribute. Typically aBoolean
orString
.- Returns:
- This object.
-
style
Description copied from class:HtmlElement
style attribute.- Overrides:
style
in classHtmlElementContainer
- Parameters:
style
- The new value for this attribute.- Returns:
- This object.
-
tabindex
Description copied from class:HtmlElement
tabindex attribute.- Overrides:
tabindex
in classHtmlElementContainer
- Parameters:
tabindex
- The new value for this attribute. Typically aNumber
orString
.- Returns:
- This object.
-
title
Description copied from class:HtmlElement
title attribute.- Overrides:
title
in classHtmlElementContainer
- Parameters:
title
- The new value for this attribute.- Returns:
- This object.
-
translate
Description copied from class:HtmlElement
translate attribute.- Overrides:
translate
in classHtmlElementContainer
- Parameters:
translate
- The new value for this attribute. Typically aNumber
orString
.- Returns:
- This object.
-
child
Description copied from class:HtmlElementContainer
Adds a child element to this element.- Overrides:
child
in classHtmlElementContainer
- Parameters:
child
- The child to add as a child element.- Returns:
- This object.
-
children
Description copied from class:HtmlElementContainer
Adds one or more child elements to this element.- Overrides:
children
in classHtmlElementContainer
- Parameters:
children
- The children to add as child elements.- Returns:
- This object.
-