Package elemental2.dom
Class HTMLMediaElement
java.lang.Object
elemental2.dom.Node
elemental2.dom.Element
elemental2.dom.HTMLElement
elemental2.dom.HTMLMediaElement
- All Implemented Interfaces:
EventTarget
- Direct Known Subclasses:
HTMLAudioElement,HTMLVideoElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceNested classes/interfaces inherited from class elemental2.dom.HTMLElement
HTMLElement.AttachedCallbackFn, HTMLElement.ConnectedCallbackFn, HTMLElement.CreatedCallbackFn, HTMLElement.DetachedCallbackFn, HTMLElement.DisconnectedCallbackFn, HTMLElement.FormResetCallbackFn, HTMLElement.FormStateRestoreCallbackStateArrayArrayUnionType, HTMLElement.FormStateRestoreCallbackStateUnionTypeNested 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.OncontextlostFn, Element.OncontextmenuFn, Element.OncontextrestoredFn, 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.SetAttributeValueUnionTypeNested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleandoublebooleandoublebooleandoubleboolean@Nullable MediaErrorstatic final intstatic final intstatic final intstatic final intstatic final intboolean@Nullable MediaKeysbooleanstatic final intstatic final intstatic final intstatic final intint@Nullable HTMLMediaElement.OnabortFn@Nullable HTMLMediaElement.OncanplayFn@Nullable HTMLMediaElement.OncanplaythroughFn@Nullable HTMLMediaElement.OndurationchangeFn@Nullable HTMLMediaElement.OnemptiedFn@Nullable HTMLMediaElement.OnencryptedFn@Nullable HTMLMediaElement.OnendedFn@Nullable HTMLMediaElement.OnerrorFn@Nullable HTMLMediaElement.OnloadeddataFn@Nullable HTMLMediaElement.OnloadedmetadataFn@Nullable HTMLMediaElement.OnloadstartFn@Nullable HTMLMediaElement.OnpauseFn@Nullable HTMLMediaElement.OnplayFn@Nullable HTMLMediaElement.OnplayingFn@Nullable HTMLMediaElement.OnprogressFn@Nullable HTMLMediaElement.OnratechangeFn@Nullable HTMLMediaElement.OnseekedFn@Nullable HTMLMediaElement.OnseekingFn@Nullable HTMLMediaElement.OnstalledFn@Nullable HTMLMediaElement.OnsuspendFn@Nullable HTMLMediaElement.OntimeupdateFn@Nullable HTMLMediaElement.OnvolumechangeFn@Nullable HTMLMediaElement.OnwaitingFn@Nullable HTMLMediaElement.OnwaitingforkeyFnbooleandouble@Nullable TimeRangesbooleanint@Nullable TimeRangesboolean@Nullable MediaStreamdoubleFields 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, outerText, popover, shadowRoot, spellcheck, style, tabIndex, titleFields 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, oncontextlost, oncontextmenu, oncontextrestored, 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, part, previousElementSibling, scrollHeight, scrollLeft, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollTop, scrollWidth, slot, tagNameFields 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.JsDatevoidload()voidpause()@Nullable elemental2.promise.Promise<Void> play()elemental2.promise.PromisesetMediaKeys(@Nullable MediaKeys mediaKeys) 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, hidePopover, showPopover, togglePopover, togglePopover, webkitCreateShadowRootMethods inherited from class elemental2.dom.Element
after, after, after, after, append, append, append, append, before, before, before, before, blur, checkVisibility, checkVisibility, closest, computedStyleMap, focus, focus, getAttribute, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getHTML, getHTML, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentText, matches, matchesSelector, matchesSelector, matchesSelector, matchesSelector, mozMatchesSelector, mozRequestFullScreen, mozRequestFullScreenWithKeys, msMatchesSelector, msRequestFullscreen, oMatchesSelector, prepend, prepend, prepend, prepend, querySelector, querySelectorAll, releasePointerCapture, remove, removeAttribute, removeAttributeNode, removeAttributeNS, replaceChildren, replaceChildren, replaceChildren, replaceChildren, replaceWith, replaceWith, replaceWith, replaceWith, requestFullscreen, requestFullscreen, requestPointerLock, requestPointerLock, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoView, scrollTo, scrollTo, scrollTo, scrollTo, scrollTo, scrollTo, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNS, setAttributeNS, setAttributeNS, setPointerCapture, toggleAttribute, toggleAttribute, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullscreen, webkitRequestFullScreen, webkitRequestFullScreenMethods 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, replaceChildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 -
defaultMuted
public boolean defaultMuted -
defaultPlaybackRate
public double defaultPlaybackRate -
disableRemotePlayback
public boolean disableRemotePlayback -
duration
public double duration -
ended
public boolean ended -
error
-
loop
public boolean loop -
mediaKeys
-
muted
public boolean muted -
networkState
public int networkState -
onabort
-
oncanplay
-
oncanplaythrough
-
ondurationchange
-
onemptied
-
onencrypted
-
onended
-
onerror
-
onloadeddata
-
onloadedmetadata
-
onloadstart
-
onpause
-
onplay
-
onplaying
-
onprogress
-
onratechange
-
onseeked
-
onseeking
-
onstalled
-
onsuspend
-
ontimeupdate
-
onvolumechange
-
onwaiting
-
onwaitingforkey
-
paused
public boolean paused -
playbackRate
public double playbackRate -
played
-
preload
-
preservesPitch
public boolean preservesPitch -
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
-
setMediaKeys
-
setSinkId
-