Class HTMLMediaElement
java.lang.Object
elemental2.dom.Node
elemental2.dom.Element
elemental2.dom.HTMLElement
elemental2.dom.HTMLMediaElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
Nested classes/interfaces inherited from class elemental2.dom.HTMLElement
HTMLElement.AttachedCallbackFn, HTMLElement.ConnectedCallbackFn, HTMLElement.CreatedCallbackFn, HTMLElement.DetachedCallbackFn, HTMLElement.DisconnectedCallbackFn, HTMLElement.FormResetCallbackFn, HTMLElement.FormStateRestoreCallbackStateArrayArrayUnionType, HTMLElement.FormStateRestoreCallbackStateUnionType
Nested classes/interfaces inherited from class elemental2.dom.Element
Element.AfterNodesUnionType, Element.AppendNodesUnionType, Element.BeforeNodesUnionType, Element.FocusOptionsType, Element.MatchesSelectorRefNodesUnionType, Element.OnbeforeinputFn, Element.OnbeforeunloadFn, Element.OnblurFn, Element.OnchangeFn, Element.OnclickFn, Element.OncompositionendFn, Element.OncompositionstartFn, Element.OncompositionupdateFn, Element.OncontextmenuFn, Element.OncopyFn, Element.OncutFn, Element.OndblclickFn, Element.OnfocusFn, Element.OnfocusinFn, Element.OnfocusoutFn, Element.OninputFn, Element.OnkeydownFn, Element.OnkeypressFn, Element.OnkeyupFn, Element.OnloadFn, Element.OnmousedownFn, Element.OnmousemoveFn, Element.OnmouseoutFn, Element.OnmouseoverFn, Element.OnmouseupFn, Element.OnmousewheelFn, Element.OnpasteFn, Element.OnresetFn, Element.OnresizeFn, Element.OnscrollFn, Element.OnselectFn, Element.OnselectionchangeFn, Element.OnselectstartFn, Element.OnsubmitFn, Element.OntextinputFn, Element.OntouchcancelFn, Element.OntouchendFn, Element.OntouchmoveFn, Element.OntouchstartFn, Element.OnunloadFn, Element.OnwheelFn, Element.PrependNodesUnionType, Element.ReplaceChildrenNodesUnionType, Element.ReplaceWithNodesUnionType, Element.ScrollIntoViewTopUnionType, Element.ScrollToScrollToOptionsOrXUnionType, Element.SetAttributeNSValueUnionType, Element.SetAttributeValueUnionType
Nested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
double
double
double
boolean
static final int
static final int
static final int
static final int
static final int
boolean
boolean
static final int
static final int
static final int
static final int
int
boolean
double
int
boolean
double
Fields inherited from class elemental2.dom.HTMLElement
attachedCallback, className, connectedCallback, contextMenu, createdCallback, dataset, detachedCallback, dir, disconnectedCallback, draggable, dropzone, formAssociated, formResetCallback, hidden, inert, lang, nonce, observedAttributes, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, shadowRoot, spellcheck, style, tabIndex, title
Fields inherited from class elemental2.dom.Element
ALLOW_KEYBOARD_INPUT, attributes, childElementCount, classList, clientHeight, clientLeft, clientTop, clientWidth, firstElementChild, id, innerHTML, lastElementChild, nextElementSibling, onbeforeinput, onbeforeunload, onblur, onchange, onclick, oncompositionend, oncompositionstart, oncompositionupdate, oncontextmenu, oncopy, oncut, ondblclick, onfocus, onfocusin, onfocusout, oninput, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpaste, onreset, onresize, onscroll, onselect, onselectionchange, onselectstart, onsubmit, ontextinput, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onunload, onwheel, outerHTML, previousElementSibling, scrollHeight, scrollLeft, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollTop, scrollWidth, slot, tagName
Fields inherited from class elemental2.dom.Node
assignedSlot, ATTRIBUTE_NODE, baseURI, CDATA_SECTION_NODE, childNodes, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, firstChild, isConnected, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTextTrack
(String kind) addTextTrack
(String kind, String label) addTextTrack
(String kind, String label, String language) canPlayType
(String type) elemental2.core.JsDate
void
load()
void
pause()
elemental2.promise.Promise
<Void> play()
elemental2.promise.Promise
<Void> Methods inherited from class elemental2.dom.HTMLElement
adoptedCallback, attachInternals, attachShadow, attributeChangedCallback, click, createShadowRoot, formAssociatedCallback, formDisabledCallback, formStateRestoreCallback, formStateRestoreCallback, formStateRestoreCallback, formStateRestoreCallback, formStateRestoreCallback, getDestinationInsertionPoints, webkitCreateShadowRoot
Methods inherited from class elemental2.dom.Element
after, after, after, append, append, append, before, before, before, blur, checkVisibility, checkVisibility, closest, focus, focus, getAttribute, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentText, matches, matchesSelector, matchesSelector, matchesSelector, matchesSelector, mozMatchesSelector, mozRequestFullScreen, mozRequestFullScreenWithKeys, msMatchesSelector, msRequestFullscreen, oMatchesSelector, prepend, prepend, prepend, querySelector, querySelectorAll, releasePointerCapture, remove, removeAttribute, removeAttributeNode, removeAttributeNS, replaceChildren, replaceChildren, replaceChildren, replaceWith, replaceWith, replaceWith, requestFullscreen, requestFullscreen, requestPointerLock, requestPointerLock, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoView, scrollTo, scrollTo, scrollTo, scrollTo, scrollTo, scrollTo, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNS, setAttributeNS, setAttributeNS, setPointerCapture, toggleAttribute, toggleAttribute, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullscreen, webkitRequestFullScreen, webkitRequestFullScreen
Methods inherited from class elemental2.dom.Node
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getFeature, getRootNode, getRootNode, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface elemental2.dom.EventTarget
addEventListener, addEventListener, removeEventListener, removeEventListener
-
Field Details
-
HAVE_CURRENT_DATA
@JsOverlay public static final int HAVE_CURRENT_DATA -
HAVE_ENOUGH_DATA
@JsOverlay public static final int HAVE_ENOUGH_DATA -
HAVE_FUTURE_DATA
@JsOverlay public static final int HAVE_FUTURE_DATA -
HAVE_METADATA
@JsOverlay public static final int HAVE_METADATA -
HAVE_NOTHING
@JsOverlay public static final int HAVE_NOTHING -
NETWORK_EMPTY
@JsOverlay public static final int NETWORK_EMPTY -
NETWORK_IDLE
@JsOverlay public static final int NETWORK_IDLE -
NETWORK_LOADING
@JsOverlay public static final int NETWORK_LOADING -
NETWORK_NO_SOURCE
@JsOverlay public static final int NETWORK_NO_SOURCE -
autobuffer
public boolean autobuffer -
autoplay
public boolean autoplay -
buffered
-
controls
public boolean controls -
crossOrigin
-
currentSrc
-
currentTime
public double currentTime -
defaultPlaybackRate
public double defaultPlaybackRate -
duration
public double duration -
ended
public boolean ended -
error
-
loop
public boolean loop -
muted
public boolean muted -
networkState
public int networkState -
onabort
-
oncanplay
-
oncanplaythrough
-
ondurationchange
-
onemptied
-
onended
-
onerror
-
onloadeddata
-
onloadedmetadata
-
onloadstart
-
onpause
-
onplay
-
onplaying
-
onprogress
-
onratechange
-
onseeked
-
onseeking
-
onstalled
-
onsuspend
-
ontimeupdate
-
onvolumechange
-
onwaiting
-
paused
public boolean paused -
playbackRate
public double playbackRate -
played
-
preload
-
readyState
public int readyState -
seekable
-
seeking
public boolean seeking -
sinkId
-
src
-
srcObject
-
textTracks
-
volume
public double volume
-
-
Constructor Details
-
HTMLMediaElement
public HTMLMediaElement()
-
-
Method Details
-
addTextTrack
-
addTextTrack
-
addTextTrack
-
canPlayType
-
captureStream
-
getStartDate
public elemental2.core.JsDate getStartDate() -
load
public void load() -
mozCaptureStream
-
pause
public void pause() -
play
-
setSinkId
-