@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="HTMLMediaElement")
public class HTMLMediaElement
extends HTMLElement
| Modifier and Type | Field and Description |
|---|---|
boolean |
autoplay
The HTMLMediaElement.autoplay property reflects the autoplay HTML attribute, indicating whether playback should automatically begin as soon as enough media is available to do so without interruption.
|
boolean |
controls
The HTMLMediaElement.controls property reflects the controls HTML attribute, which controls whether user interface controls for playing the media item will be displayed.
|
@JsNullable java.lang.String |
crossOrigin
The HTMLMediaElement.crossOrigin property is the CORS setting for this image element.
|
double |
currentTime
The HTMLMediaElement interface's currentTime property specifies the current playback time in seconds.
|
boolean |
defaultMuted
The HTMLMediaElement.defaultMuted property reflects the muted HTML attribute, which indicates whether the media element's audio output should be muted by default.
|
double |
defaultPlaybackRate
The HTMLMediaElement.defaultPlaybackRate property indicates the default playback rate for the media.
|
static int |
HAVE_CURRENT_DATA |
static int |
HAVE_ENOUGH_DATA |
static int |
HAVE_FUTURE_DATA |
static int |
HAVE_METADATA |
static int |
HAVE_NOTHING |
boolean |
loop
The HTMLMediaElement.loop property reflects the loop HTML attribute, which controls whether the media element should start over when it reaches the end.
|
boolean |
muted
The HTMLMediaElement.muted indicates whether the media element muted.
|
static int |
NETWORK_EMPTY |
static int |
NETWORK_IDLE |
static int |
NETWORK_LOADING |
static int |
NETWORK_NO_SOURCE |
@JsNullable EventHandler |
onencrypted |
@JsNullable EventHandler |
onwaitingforkey |
double |
playbackRate
The HTMLMediaElement.playbackRate property sets the rate at which the media is being played back.
|
@JsNonNull java.lang.String |
preload |
boolean |
preservesPitch |
@JsNonNull java.lang.String |
src
The HTMLMediaElement.src property reflects the value of the HTML media element's src attribute, which indicates the URL of a media resource to use in the element.
|
@JsNullable MediaProvider |
srcObject
The srcObject property of the HTMLMediaElement interface sets or returns the object which serves as the source of the media associated with the HTMLMediaElement.
|
double |
volume
The HTMLMediaElement.volume property sets the volume at which the media will be played.
|
accessKey, autocapitalize, autofocus, contentEditable, dir, draggable, enterKeyHint, hidden, innerText, inputMode, lang, nonce, onabort, onanimationcancel, onanimationend, onanimationiteration, onanimationstart, onauxclick, onbeforexrselect, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, onclose, oncontextlost, oncontextmenu, oncontextrestored, oncopy, oncuechange, oncut, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onformdata, ongotpointercapture, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onlostpointercapture, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onpaste, onpause, onplay, onplaying, onpointercancel, onpointerdown, onpointerenter, onpointerleave, onpointermove, onpointerout, onpointerover, onpointerup, onprogress, onratechange, onreset, onresize, onscroll, onsecuritypolicyviolation, onseeked, onseeking, onselect, onselectionchange, onselectstart, onslotchange, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, ontouchcancel, ontouchend, ontouchmove, ontouchstart, ontransitioncancel, ontransitionend, ontransitionrun, ontransitionstart, onvolumechange, onwaiting, onwebkitanimationend, onwebkitanimationiteration, onwebkitanimationstart, onwebkittransitionend, onwheel, outerText, spellcheck, tabIndex, title, translateariaAtomic, ariaAutoComplete, ariaBusy, ariaChecked, ariaColCount, ariaColIndex, ariaColIndexText, ariaColSpan, ariaCurrent, ariaDescription, ariaDisabled, ariaExpanded, ariaHasPopup, ariaHidden, ariaInvalid, ariaKeyShortcuts, ariaLabel, ariaLevel, ariaLive, ariaModal, ariaMultiLine, ariaMultiSelectable, ariaOrientation, ariaPlaceholder, ariaPosInSet, ariaPressed, ariaReadOnly, ariaRequired, ariaRoleDescription, ariaRowCount, ariaRowIndex, ariaRowIndexText, ariaRowSpan, ariaSelected, ariaSetSize, ariaSort, ariaValueMax, ariaValueMin, ariaValueNow, ariaValueText, className, id, innerHTML, onfullscreenchange, onfullscreenerror, outerHTML, role, scrollLeft, scrollTop, slotATTRIBUTE_NODE, CDATA_SECTION_NODE, 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, nodeValue, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent| Modifier | Constructor and Description |
|---|---|
protected |
HTMLMediaElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAbortListener(EventListener callback) |
void |
addAbortListener(EventListener callback,
AddEventListenerOptions options) |
void |
addAbortListener(EventListener callback,
boolean useCapture) |
void |
addCanplayListener(EventListener callback) |
void |
addCanplayListener(EventListener callback,
AddEventListenerOptions options) |
void |
addCanplayListener(EventListener callback,
boolean useCapture) |
void |
addCanplaythroughListener(EventListener callback) |
void |
addCanplaythroughListener(EventListener callback,
AddEventListenerOptions options) |
void |
addCanplaythroughListener(EventListener callback,
boolean useCapture) |
void |
addDurationchangeListener(EventListener callback) |
void |
addDurationchangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addDurationchangeListener(EventListener callback,
boolean useCapture) |
void |
addEmptiedListener(EventListener callback) |
void |
addEmptiedListener(EventListener callback,
AddEventListenerOptions options) |
void |
addEmptiedListener(EventListener callback,
boolean useCapture) |
void |
addEndedListener(EventListener callback) |
void |
addEndedListener(EventListener callback,
AddEventListenerOptions options) |
void |
addEndedListener(EventListener callback,
boolean useCapture) |
void |
addLoadeddataListener(EventListener callback) |
void |
addLoadeddataListener(EventListener callback,
AddEventListenerOptions options) |
void |
addLoadeddataListener(EventListener callback,
boolean useCapture) |
void |
addLoadedmetadataListener(EventListener callback) |
void |
addLoadedmetadataListener(EventListener callback,
AddEventListenerOptions options) |
void |
addLoadedmetadataListener(EventListener callback,
boolean useCapture) |
void |
addLoadstartListener(EventListener callback) |
void |
addLoadstartListener(EventListener callback,
AddEventListenerOptions options) |
void |
addLoadstartListener(EventListener callback,
boolean useCapture) |
void |
addPauseListener(EventListener callback) |
void |
addPauseListener(EventListener callback,
AddEventListenerOptions options) |
void |
addPauseListener(EventListener callback,
boolean useCapture) |
void |
addPlayingListener(EventListener callback) |
void |
addPlayingListener(EventListener callback,
AddEventListenerOptions options) |
void |
addPlayingListener(EventListener callback,
boolean useCapture) |
void |
addPlayListener(EventListener callback) |
void |
addPlayListener(EventListener callback,
AddEventListenerOptions options) |
void |
addPlayListener(EventListener callback,
boolean useCapture) |
void |
addProgressListener(EventListener callback) |
void |
addProgressListener(EventListener callback,
AddEventListenerOptions options) |
void |
addProgressListener(EventListener callback,
boolean useCapture) |
void |
addRatechangeListener(EventListener callback) |
void |
addRatechangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addRatechangeListener(EventListener callback,
boolean useCapture) |
void |
addSeekedListener(EventListener callback) |
void |
addSeekedListener(EventListener callback,
AddEventListenerOptions options) |
void |
addSeekedListener(EventListener callback,
boolean useCapture) |
void |
addSeekingListener(EventListener callback) |
void |
addSeekingListener(EventListener callback,
AddEventListenerOptions options) |
void |
addSeekingListener(EventListener callback,
boolean useCapture) |
void |
addStalledListener(EventListener callback) |
void |
addStalledListener(EventListener callback,
AddEventListenerOptions options) |
void |
addStalledListener(EventListener callback,
boolean useCapture) |
void |
addSuspendListener(EventListener callback) |
void |
addSuspendListener(EventListener callback,
AddEventListenerOptions options) |
void |
addSuspendListener(EventListener callback,
boolean useCapture) |
@JsNonNull TextTrack |
addTextTrack(java.lang.String kind) |
@JsNonNull TextTrack |
addTextTrack(java.lang.String kind,
java.lang.String label) |
@JsNonNull TextTrack |
addTextTrack(java.lang.String kind,
java.lang.String label,
java.lang.String language) |
void |
addTimeupdateListener(EventListener callback) |
void |
addTimeupdateListener(EventListener callback,
AddEventListenerOptions options) |
void |
addTimeupdateListener(EventListener callback,
boolean useCapture) |
void |
addVolumechangeListener(EventListener callback) |
void |
addVolumechangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addVolumechangeListener(EventListener callback,
boolean useCapture) |
void |
addWaitingListener(EventListener callback) |
void |
addWaitingListener(EventListener callback,
AddEventListenerOptions options) |
void |
addWaitingListener(EventListener callback,
boolean useCapture) |
AudioTrackList |
audioTracks()
The read-only audioTracks property on HTMLMediaElement objects returns an AudioTrackList object listing all of the AudioTrack objects representing the media element's audio tracks.
|
TimeRanges |
buffered()
The HTMLMediaElement.buffered read-only property returns a new TimeRanges object that indicates the ranges of the media source that the browser has buffered (if any) at the moment the buffered property is accessed.
|
@JsNonNull java.lang.String |
canPlayType(java.lang.String type)
The HTMLMediaElement method canPlayType() reports how likely it is that the current browser will be able to play media of a given MIME type.
|
java.lang.String |
currentSrc()
The HTMLMediaElement.currentSrc property contains the absolute URL of the chosen media resource.
|
double |
duration()
The read-only HTMLMediaElement property duration indicates the length of the element's media in seconds.
|
boolean |
ended()
The HTMLMediaElement.ended indicates whether the media element has ended playback.
|
MediaError |
error()
The HTMLMediaElement.error is the MediaError object for the most recent error, or null if there has not been an error.
|
void |
fastSeek(double time)
The HTMLMediaElement.fastSeek() method quickly seeks the media to the new time with precision tradeoff.
|
@JsNonNull JsObject |
getStartDate() |
void |
load()
The HTMLMediaElement method load() resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.
|
MediaKeys |
mediaKeys() |
int |
networkState()
The HTMLMediaElement.networkState property indicates the current state of the fetching of media over the network.
|
void |
pause()
The HTMLMediaElement.pause() method will pause playback of the media, if the media is already in a paused state this method will have no effect.
|
boolean |
paused()
The read-only HTMLMediaElement.paused property tells whether the media element is paused.
|
@JsNonNull Promise<java.lang.Void> |
play()
The HTMLMediaElement play() method attempts to begin playback of the media.
|
TimeRanges |
played() |
int |
readyState()
The HTMLMediaElement.readyState property indicates the readiness state of the media.
|
void |
removeAbortListener(EventListener callback) |
void |
removeAbortListener(EventListener callback,
boolean useCapture) |
void |
removeAbortListener(EventListener callback,
EventListenerOptions options) |
void |
removeCanplayListener(EventListener callback) |
void |
removeCanplayListener(EventListener callback,
boolean useCapture) |
void |
removeCanplayListener(EventListener callback,
EventListenerOptions options) |
void |
removeCanplaythroughListener(EventListener callback) |
void |
removeCanplaythroughListener(EventListener callback,
boolean useCapture) |
void |
removeCanplaythroughListener(EventListener callback,
EventListenerOptions options) |
void |
removeDurationchangeListener(EventListener callback) |
void |
removeDurationchangeListener(EventListener callback,
boolean useCapture) |
void |
removeDurationchangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeEmptiedListener(EventListener callback) |
void |
removeEmptiedListener(EventListener callback,
boolean useCapture) |
void |
removeEmptiedListener(EventListener callback,
EventListenerOptions options) |
void |
removeEndedListener(EventListener callback) |
void |
removeEndedListener(EventListener callback,
boolean useCapture) |
void |
removeEndedListener(EventListener callback,
EventListenerOptions options) |
void |
removeLoadeddataListener(EventListener callback) |
void |
removeLoadeddataListener(EventListener callback,
boolean useCapture) |
void |
removeLoadeddataListener(EventListener callback,
EventListenerOptions options) |
void |
removeLoadedmetadataListener(EventListener callback) |
void |
removeLoadedmetadataListener(EventListener callback,
boolean useCapture) |
void |
removeLoadedmetadataListener(EventListener callback,
EventListenerOptions options) |
void |
removeLoadstartListener(EventListener callback) |
void |
removeLoadstartListener(EventListener callback,
boolean useCapture) |
void |
removeLoadstartListener(EventListener callback,
EventListenerOptions options) |
void |
removePauseListener(EventListener callback) |
void |
removePauseListener(EventListener callback,
boolean useCapture) |
void |
removePauseListener(EventListener callback,
EventListenerOptions options) |
void |
removePlayingListener(EventListener callback) |
void |
removePlayingListener(EventListener callback,
boolean useCapture) |
void |
removePlayingListener(EventListener callback,
EventListenerOptions options) |
void |
removePlayListener(EventListener callback) |
void |
removePlayListener(EventListener callback,
boolean useCapture) |
void |
removePlayListener(EventListener callback,
EventListenerOptions options) |
void |
removeProgressListener(EventListener callback) |
void |
removeProgressListener(EventListener callback,
boolean useCapture) |
void |
removeProgressListener(EventListener callback,
EventListenerOptions options) |
void |
removeRatechangeListener(EventListener callback) |
void |
removeRatechangeListener(EventListener callback,
boolean useCapture) |
void |
removeRatechangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeSeekedListener(EventListener callback) |
void |
removeSeekedListener(EventListener callback,
boolean useCapture) |
void |
removeSeekedListener(EventListener callback,
EventListenerOptions options) |
void |
removeSeekingListener(EventListener callback) |
void |
removeSeekingListener(EventListener callback,
boolean useCapture) |
void |
removeSeekingListener(EventListener callback,
EventListenerOptions options) |
void |
removeStalledListener(EventListener callback) |
void |
removeStalledListener(EventListener callback,
boolean useCapture) |
void |
removeStalledListener(EventListener callback,
EventListenerOptions options) |
void |
removeSuspendListener(EventListener callback) |
void |
removeSuspendListener(EventListener callback,
boolean useCapture) |
void |
removeSuspendListener(EventListener callback,
EventListenerOptions options) |
void |
removeTimeupdateListener(EventListener callback) |
void |
removeTimeupdateListener(EventListener callback,
boolean useCapture) |
void |
removeTimeupdateListener(EventListener callback,
EventListenerOptions options) |
void |
removeVolumechangeListener(EventListener callback) |
void |
removeVolumechangeListener(EventListener callback,
boolean useCapture) |
void |
removeVolumechangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeWaitingListener(EventListener callback) |
void |
removeWaitingListener(EventListener callback,
boolean useCapture) |
void |
removeWaitingListener(EventListener callback,
EventListenerOptions options) |
TimeRanges |
seekable()
The seekable read-only property of the HTMLMediaElement returns a TimeRanges object that contains the time ranges that the user is able to seek to, if any.
|
boolean |
seeking() |
@JsNonNull Promise<java.lang.Void> |
setMediaKeys(MediaKeys mediaKeys)
The setMediaKeys() property of the HTMLMediaElement interface returns a Promise that resolves to the passed MediaKeys, which are those used to decrypt media during playback.
|
TextTrackList |
textTracks()
The read-only textTracks property on HTMLMediaElement objects returns a TextTrackList object listing all of the TextTrack objects representing the media element's text tracks
|
VideoTrackList |
videoTracks()
The read-only videoTracks property on HTMLMediaElement objects returns a VideoTrackList object listing all of the VideoTrack objects representing the media element's video tracks.
|
accessKeyLabel, addAnimationcancelListener, addAnimationcancelListener, addAnimationcancelListener, addAnimationendListener, addAnimationendListener, addAnimationendListener, addAnimationiterationListener, addAnimationiterationListener, addAnimationiterationListener, addAnimationstartListener, addAnimationstartListener, addAnimationstartListener, addBeforeinputListener, addBeforeinputListener, addBeforeinputListener, addChangeListener, addChangeListener, addChangeListener, addDragendListener, addDragendListener, addDragendListener, addDragenterListener, addDragenterListener, addDragenterListener, addDragleaveListener, addDragleaveListener, addDragleaveListener, addDragListener, addDragListener, addDragListener, addDragoverListener, addDragoverListener, addDragoverListener, addDragstartListener, addDragstartListener, addDragstartListener, addDropListener, addDropListener, addDropListener, addErrorListener, addErrorListener, addErrorListener, addGotpointercaptureListener, addGotpointercaptureListener, addGotpointercaptureListener, addInputListener, addInputListener, addInputListener, addInvalidListener, addInvalidListener, addInvalidListener, addLostpointercaptureListener, addLostpointercaptureListener, addLostpointercaptureListener, addPointercancelListener, addPointercancelListener, addPointercancelListener, addPointerdownListener, addPointerdownListener, addPointerdownListener, addPointerenterListener, addPointerenterListener, addPointerenterListener, addPointerleaveListener, addPointerleaveListener, addPointerleaveListener, addPointermoveListener, addPointermoveListener, addPointermoveListener, addPointeroutListener, addPointeroutListener, addPointeroutListener, addPointeroverListener, addPointeroverListener, addPointeroverListener, addPointerupListener, addPointerupListener, addPointerupListener, addTransitioncancelListener, addTransitioncancelListener, addTransitioncancelListener, addTransitionendListener, addTransitionendListener, addTransitionendListener, addTransitionrunListener, addTransitionrunListener, addTransitionrunListener, addTransitionstartListener, addTransitionstartListener, addTransitionstartListener, attachInternals, blur, click, dataset, focus, focus, isContentEditable, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, removeAnimationcancelListener, removeAnimationcancelListener, removeAnimationcancelListener, removeAnimationendListener, removeAnimationendListener, removeAnimationendListener, removeAnimationiterationListener, removeAnimationiterationListener, removeAnimationiterationListener, removeAnimationstartListener, removeAnimationstartListener, removeAnimationstartListener, removeBeforeinputListener, removeBeforeinputListener, removeBeforeinputListener, removeChangeListener, removeChangeListener, removeChangeListener, removeDragendListener, removeDragendListener, removeDragendListener, removeDragenterListener, removeDragenterListener, removeDragenterListener, removeDragleaveListener, removeDragleaveListener, removeDragleaveListener, removeDragListener, removeDragListener, removeDragListener, removeDragoverListener, removeDragoverListener, removeDragoverListener, removeDragstartListener, removeDragstartListener, removeDragstartListener, removeDropListener, removeDropListener, removeDropListener, removeErrorListener, removeErrorListener, removeErrorListener, removeGotpointercaptureListener, removeGotpointercaptureListener, removeGotpointercaptureListener, removeInputListener, removeInputListener, removeInputListener, removeInvalidListener, removeInvalidListener, removeInvalidListener, removeLostpointercaptureListener, removeLostpointercaptureListener, removeLostpointercaptureListener, removePointercancelListener, removePointercancelListener, removePointercancelListener, removePointerdownListener, removePointerdownListener, removePointerdownListener, removePointerenterListener, removePointerenterListener, removePointerenterListener, removePointerleaveListener, removePointerleaveListener, removePointerleaveListener, removePointermoveListener, removePointermoveListener, removePointermoveListener, removePointeroutListener, removePointeroutListener, removePointeroutListener, removePointeroverListener, removePointeroverListener, removePointeroverListener, removePointerupListener, removePointerupListener, removePointerupListener, removeTransitioncancelListener, removeTransitioncancelListener, removeTransitioncancelListener, removeTransitionendListener, removeTransitionendListener, removeTransitionendListener, removeTransitionrunListener, removeTransitionrunListener, removeTransitionrunListener, removeTransitionstartListener, removeTransitionstartListener, removeTransitionstartListener, styleaddAuxclickListener, addAuxclickListener, addAuxclickListener, addBlurListener, addBlurListener, addBlurListener, addCancelListener, addCancelListener, addCancelListener, addClickListener, addClickListener, addClickListener, addCompositionendListener, addCompositionendListener, addCompositionendListener, addCompositionstartListener, addCompositionstartListener, addCompositionstartListener, addCompositionupdateListener, addCompositionupdateListener, addCompositionupdateListener, addContextmenuListener, addContextmenuListener, addContextmenuListener, addCopyListener, addCopyListener, addCopyListener, addCutListener, addCutListener, addCutListener, addDblclickListener, addDblclickListener, addDblclickListener, addDOMActivateListener, addDOMActivateListener, addDOMActivateListener, addFocusinListener, addFocusinListener, addFocusinListener, addFocusListener, addFocusListener, addFocusListener, addFocusoutListener, addFocusoutListener, addFocusoutListener, addFullscreenchangeListener, addFullscreenchangeListener, addFullscreenchangeListener, addFullscreenerrorListener, addFullscreenerrorListener, addFullscreenerrorListener, addMousedownListener, addMousedownListener, addMousedownListener, addMouseenterListener, addMouseenterListener, addMouseenterListener, addMouseleaveListener, addMouseleaveListener, addMouseleaveListener, addMousemoveListener, addMousemoveListener, addMousemoveListener, addMouseoutListener, addMouseoutListener, addMouseoutListener, addMouseoverListener, addMouseoverListener, addMouseoverListener, addMouseupListener, addMouseupListener, addMouseupListener, addPasteListener, addPasteListener, addPasteListener, addScrollListener, addScrollListener, addScrollListener, addShowListener, addShowListener, addShowListener, addTouchcancelListener, addTouchcancelListener, addTouchcancelListener, addTouchendListener, addTouchendListener, addTouchendListener, addTouchmoveListener, addTouchmoveListener, addTouchmoveListener, addTouchstartListener, addTouchstartListener, addTouchstartListener, addWebkitmouseforcechangedListener, addWebkitmouseforcechangedListener, addWebkitmouseforcechangedListener, addWebkitmouseforcedownListener, addWebkitmouseforcedownListener, addWebkitmouseforcedownListener, addWebkitmouseforceupListener, addWebkitmouseforceupListener, addWebkitmouseforceupListener, addWebkitmouseforcewillbeginListener, addWebkitmouseforcewillbeginListener, addWebkitmouseforcewillbeginListener, addWheelListener, addWheelListener, addWheelListener, after, after, animate, animate, animate, append, append, assignedSlot, attachShadow, attributes, before, before, childElementCount, children, classList, clientHeight, clientLeft, clientTop, clientWidth, closest, firstElementChild, getAnimations, getAnimations, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, lastElementChild, localName, matches, namespaceURI, nextElementSibling, prefix, prepend, prepend, previousElementSibling, pseudo, querySelector, querySelectorAll, releasePointerCapture, remove, removeAttribute, removeAttributeNode, removeAttributeNS, removeAuxclickListener, removeAuxclickListener, removeAuxclickListener, removeBlurListener, removeBlurListener, removeBlurListener, removeCancelListener, removeCancelListener, removeCancelListener, removeClickListener, removeClickListener, removeClickListener, removeCompositionendListener, removeCompositionendListener, removeCompositionendListener, removeCompositionstartListener, removeCompositionstartListener, removeCompositionstartListener, removeCompositionupdateListener, removeCompositionupdateListener, removeCompositionupdateListener, removeContextmenuListener, removeContextmenuListener, removeContextmenuListener, removeCopyListener, removeCopyListener, removeCopyListener, removeCutListener, removeCutListener, removeCutListener, removeDblclickListener, removeDblclickListener, removeDblclickListener, removeDOMActivateListener, removeDOMActivateListener, removeDOMActivateListener, removeFocusinListener, removeFocusinListener, removeFocusinListener, removeFocusListener, removeFocusListener, removeFocusListener, removeFocusoutListener, removeFocusoutListener, removeFocusoutListener, removeFullscreenchangeListener, removeFullscreenchangeListener, removeFullscreenchangeListener, removeFullscreenerrorListener, removeFullscreenerrorListener, removeFullscreenerrorListener, removeMousedownListener, removeMousedownListener, removeMousedownListener, removeMouseenterListener, removeMouseenterListener, removeMouseenterListener, removeMouseleaveListener, removeMouseleaveListener, removeMouseleaveListener, removeMousemoveListener, removeMousemoveListener, removeMousemoveListener, removeMouseoutListener, removeMouseoutListener, removeMouseoutListener, removeMouseoverListener, removeMouseoverListener, removeMouseoverListener, removeMouseupListener, removeMouseupListener, removeMouseupListener, removePasteListener, removePasteListener, removePasteListener, removeScrollListener, removeScrollListener, removeScrollListener, removeShowListener, removeShowListener, removeShowListener, removeTouchcancelListener, removeTouchcancelListener, removeTouchcancelListener, removeTouchendListener, removeTouchendListener, removeTouchendListener, removeTouchmoveListener, removeTouchmoveListener, removeTouchmoveListener, removeTouchstartListener, removeTouchstartListener, removeTouchstartListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcedownListener, removeWebkitmouseforcedownListener, removeWebkitmouseforcedownListener, removeWebkitmouseforceupListener, removeWebkitmouseforceupListener, removeWebkitmouseforceupListener, removeWebkitmouseforcewillbeginListener, removeWebkitmouseforcewillbeginListener, removeWebkitmouseforcewillbeginListener, removeWheelListener, removeWheelListener, removeWheelListener, replaceChildren, replaceChildren, replaceWith, replaceWith, requestFullscreen, requestFullscreen, requestPointerLock, scroll, scroll, scroll, scrollBy, scrollBy, scrollBy, scrollHeight, scrollIntoView, scrollIntoView, scrollIntoView, scrollTo, scrollTo, scrollTo, scrollWidth, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, shadowRoot, tagName, toggleAttribute, toggleAttribute, webkitMatchesSelectorappendChild, baseURI, childNodes, cloneNode, cloneNode, compareDocumentPosition, contains, firstChild, getRootNode, getRootNode, hasChildNodes, insertBefore, isConnected, isDefaultNamespace, isEqualNode, isSameNode, lastChild, lookupNamespaceURI, lookupPrefix, nextSibling, nodeName, nodeType, normalize, ownerDocument, parentElement, parentNode, previousSibling, removeChild, replaceChildaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsOverlay public static final int HAVE_CURRENT_DATA
@JsOverlay public static final int HAVE_ENOUGH_DATA
@JsOverlay public static final int HAVE_FUTURE_DATA
@JsOverlay public static final int HAVE_METADATA
@JsOverlay public static final int HAVE_NOTHING
@JsOverlay public static final int NETWORK_EMPTY
@JsOverlay public static final int NETWORK_IDLE
@JsOverlay public static final int NETWORK_LOADING
@JsOverlay public static final int NETWORK_NO_SOURCE
public boolean autoplay
public boolean controls
@CrossOriginType public @JsNullable java.lang.String crossOrigin
public double currentTime
public boolean defaultMuted
public double defaultPlaybackRate
public boolean loop
public boolean muted
public @JsNullable EventHandler onencrypted
public @JsNullable EventHandler onwaitingforkey
public double playbackRate
@MediaPreloadType public @JsNonNull java.lang.String preload
public boolean preservesPitch
public @JsNonNull java.lang.String src
public @JsNullable MediaProvider srcObject
public double volume
@JsProperty(name="audioTracks") @Nonnull public AudioTrackList audioTracks()
@JsProperty(name="buffered") @Nonnull public TimeRanges buffered()
@JsProperty(name="currentSrc") @Nonnull public java.lang.String currentSrc()
@JsProperty(name="duration") public double duration()
@JsProperty(name="ended") public boolean ended()
@JsProperty(name="error") @Nullable public MediaError error()
@JsProperty(name="mediaKeys") @Nullable public MediaKeys mediaKeys()
@JsProperty(name="networkState") @HTMLMediaElementNetworkState public int networkState()
@JsProperty(name="paused") public boolean paused()
@JsProperty(name="played") @Nonnull public TimeRanges played()
@JsProperty(name="readyState") @HTMLMediaElementReadyState public int readyState()
@JsProperty(name="seekable") @Nonnull public TimeRanges seekable()
@JsProperty(name="seeking") public boolean seeking()
@JsProperty(name="textTracks") @Nonnull public TextTrackList textTracks()
@JsProperty(name="videoTracks") @Nonnull public VideoTrackList videoTracks()
public @JsNonNull TextTrack addTextTrack(@TextTrackKind @Nonnull java.lang.String kind, @Nonnull java.lang.String label, @Nonnull java.lang.String language)
public @JsNonNull TextTrack addTextTrack(@TextTrackKind @Nonnull java.lang.String kind, @Nonnull java.lang.String label)
public @JsNonNull TextTrack addTextTrack(@TextTrackKind @Nonnull java.lang.String kind)
@CanPlayTypeResult public @JsNonNull java.lang.String canPlayType(@Nonnull java.lang.String type)
public void fastSeek(double time)
public @JsNonNull JsObject getStartDate()
public void load()
public void pause()
public @JsNonNull Promise<java.lang.Void> play()
public @JsNonNull Promise<java.lang.Void> setMediaKeys(@Nullable MediaKeys mediaKeys)
@JsOverlay
public final void addAbortListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addAbortListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addAbortListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeAbortListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeAbortListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeAbortListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addCanplayListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addCanplayListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addCanplayListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeCanplayListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeCanplayListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeCanplayListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addCanplaythroughListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addCanplaythroughListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addCanplaythroughListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeCanplaythroughListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeCanplaythroughListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeCanplaythroughListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addDurationchangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDurationchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addDurationchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeDurationchangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDurationchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDurationchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addEmptiedListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addEmptiedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addEmptiedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeEmptiedListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeEmptiedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeEmptiedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addEndedListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addEndedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addEndedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeEndedListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeEndedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeEndedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addLoadeddataListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addLoadeddataListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addLoadeddataListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeLoadeddataListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeLoadeddataListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeLoadeddataListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addLoadedmetadataListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addLoadedmetadataListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addLoadedmetadataListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeLoadedmetadataListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeLoadedmetadataListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeLoadedmetadataListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addLoadstartListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addLoadstartListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addLoadstartListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeLoadstartListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeLoadstartListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeLoadstartListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addPauseListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPauseListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addPauseListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removePauseListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePauseListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removePauseListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addPlayListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPlayListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addPlayListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removePlayListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePlayListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removePlayListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addPlayingListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPlayingListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addPlayingListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removePlayingListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePlayingListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removePlayingListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addProgressListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addProgressListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addProgressListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeProgressListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeProgressListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeProgressListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addRatechangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addRatechangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addRatechangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeRatechangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeRatechangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeRatechangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addSeekedListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addSeekedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addSeekedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeSeekedListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeSeekedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeSeekedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addSeekingListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addSeekingListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addSeekingListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeSeekingListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeSeekingListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeSeekingListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addStalledListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addStalledListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addStalledListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeStalledListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeStalledListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeStalledListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addSuspendListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addSuspendListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addSuspendListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeSuspendListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeSuspendListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeSuspendListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addTimeupdateListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTimeupdateListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addTimeupdateListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeTimeupdateListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTimeupdateListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTimeupdateListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addVolumechangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addVolumechangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addVolumechangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeVolumechangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeVolumechangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeVolumechangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addWaitingListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addWaitingListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addWaitingListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeWaitingListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeWaitingListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeWaitingListener(@Nonnull
EventListener callback)