public class HTMLMediaElement extends HTMLElement
| Modifier and Type | Field and Description |
|---|---|
net.java.html.lib.Objs.Property<AudioTrackList> |
audioTracks
Returns an AudioTrackList object with the audio tracks for a given video element.
|
net.java.html.lib.Objs.Property<Boolean> |
autoplay
Gets or sets a value that indicates whether to start playing the media automatically.
|
net.java.html.lib.Objs.Property<TimeRanges> |
buffered
Gets a collection of buffered time ranges.
|
net.java.html.lib.Objs.Property<Boolean> |
controls
Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).
|
net.java.html.lib.Objs.Property<String> |
currentSrc
Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.
|
net.java.html.lib.Objs.Property<Number> |
currentTime
Gets or sets the current playback position, in seconds.
|
net.java.html.lib.Objs.Property<Boolean> |
defaultMuted |
net.java.html.lib.Objs.Property<Number> |
defaultPlaybackRate
Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.
|
net.java.html.lib.Objs.Property<Number> |
duration
Returns the duration in seconds of the current media resource.
|
net.java.html.lib.Objs.Property<Boolean> |
ended
Gets information about whether the playback has ended or not.
|
net.java.html.lib.Objs.Property<MediaError> |
error
Returns an object representing the current error state of the audio or video element.
|
net.java.html.lib.Objs.Property<Number> |
HAVE_CURRENT_DATA |
net.java.html.lib.Objs.Property<Number> |
HAVE_ENOUGH_DATA |
net.java.html.lib.Objs.Property<Number> |
HAVE_FUTURE_DATA |
net.java.html.lib.Objs.Property<Number> |
HAVE_METADATA |
net.java.html.lib.Objs.Property<Number> |
HAVE_NOTHING |
net.java.html.lib.Objs.Property<Boolean> |
loop
Gets or sets a flag to specify whether playback should restart after it completes.
|
net.java.html.lib.Objs.Property<String> |
msAudioCategory
Specifies the purpose of the audio or video media, such as background audio or alerts.
|
net.java.html.lib.Objs.Property<String> |
msAudioDeviceType
Specifies the output device id that the audio will be sent to.
|
net.java.html.lib.Objs.Property<MSGraphicsTrust> |
msGraphicsTrustStatus |
net.java.html.lib.Objs.Property<MSMediaKeys> |
msKeys
Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.
|
net.java.html.lib.Objs.Property<Boolean> |
msPlayToDisabled
Gets or sets whether the DLNA PlayTo device is available.
|
net.java.html.lib.Objs.Property<String> |
msPlayToPreferredSourceUri
Gets or sets the path to the preferred media source.
|
net.java.html.lib.Objs.Property<Boolean> |
msPlayToPrimary
Gets or sets the primary DLNA PlayTo device.
|
net.java.html.lib.Objs.Property<Object> |
msPlayToSource
Gets the source associated with the media element for use by the PlayToManager.
|
net.java.html.lib.Objs.Property<Boolean> |
msRealTime
Specifies whether or not to enable low-latency playback on the media element.
|
net.java.html.lib.Objs.Property<Boolean> |
muted
Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.
|
net.java.html.lib.Objs.Property<Number> |
NETWORK_EMPTY |
net.java.html.lib.Objs.Property<Number> |
NETWORK_IDLE |
net.java.html.lib.Objs.Property<Number> |
NETWORK_LOADING |
net.java.html.lib.Objs.Property<Number> |
NETWORK_NO_SOURCE |
net.java.html.lib.Objs.Property<Number> |
networkState
Gets the current network activity for the element.
|
net.java.html.lib.Objs.Property<net.java.html.lib.Function.A1<? super MSMediaKeyNeededEvent,? extends Object>> |
onmsneedkey |
net.java.html.lib.Objs.Property<Boolean> |
paused
Gets a flag that specifies whether playback is paused.
|
net.java.html.lib.Objs.Property<Number> |
playbackRate
Gets or sets the current rate of speed for the media resource to play.
|
net.java.html.lib.Objs.Property<TimeRanges> |
played
Gets TimeRanges for the current media resource that has been played.
|
net.java.html.lib.Objs.Property<String> |
preload
Gets or sets the current playback position, in seconds.
|
net.java.html.lib.Objs.Property<Object> |
readyState |
net.java.html.lib.Objs.Property<TimeRanges> |
seekable
Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
|
net.java.html.lib.Objs.Property<Boolean> |
seeking
Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.
|
net.java.html.lib.Objs.Property<String> |
src
The address or URL of the a media resource that is to be considered.
|
net.java.html.lib.Objs.Property<TextTrackList> |
textTracks |
net.java.html.lib.Objs.Property<VideoTrackList> |
videoTracks |
net.java.html.lib.Objs.Property<Number> |
volume
Gets or sets the volume level for audio portions of the media element.
|
accessKey, contentEditable, dataset, dir, draggable, hidden, hideFocus, children, innerHTML, innerText, isContentEditable, lang, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, spellcheck, style, tabIndex, titleclassList, className, clientHeight, clientLeft, clientTop, clientWidth, id, msContentZoomFactor, msRegionOverflow, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, scrollHeight, scrollLeft, scrollTop, scrollWidth, tagNameATTRIBUTE_NODE, attributes, baseURI, 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, firstChild, childNodes, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent| Modifier | Constructor and Description |
|---|---|
protected |
HTMLMediaElement(net.java.html.lib.Objs.Constructor<?> c,
Object js) |
accessKey, blur, click, contains, contentEditable, dataset, dir, dragDrop, draggable, focus, hidden, hideFocus, children, innerHTML, innerText, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, lang, msGetInputContext, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, scrollIntoView, scrollIntoView, setActive, spellcheck, style, tabIndex, titleclassList, className, clientHeight, clientLeft, clientTop, clientWidth, getAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, id, msContentZoomFactor, msGetRegionContent, msGetUntransformedBounds, msMatchesSelector, msRegionOverflow, msReleasePointerCapture, msSetPointerCapture, msZoomTo, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, releasePointerCapture, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, requestFullscreen, requestPointerLock, scrollHeight, scrollLeft, scrollTop, scrollWidth, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, tagName, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreenappendChild, ATTRIBUTE_NODE, attributes, baseURI, CDATA_SECTION_NODE, cloneNode, cloneNode, COMMENT_NODE, compareDocumentPosition, 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, hasAttributes, hasChildNodes, childNodes, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lastChild, localName, lookupNamespaceURI, lookupPrefix, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, removeChild, replaceChild, TEXT_NODE, textContentdispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOfpublic net.java.html.lib.Objs.Property<AudioTrackList> audioTracks
public net.java.html.lib.Objs.Property<Boolean> autoplay
public net.java.html.lib.Objs.Property<TimeRanges> buffered
public net.java.html.lib.Objs.Property<Boolean> controls
public net.java.html.lib.Objs.Property<String> currentSrc
public net.java.html.lib.Objs.Property<Number> currentTime
public net.java.html.lib.Objs.Property<Boolean> defaultMuted
public net.java.html.lib.Objs.Property<Number> defaultPlaybackRate
public net.java.html.lib.Objs.Property<Number> duration
public net.java.html.lib.Objs.Property<Boolean> ended
public net.java.html.lib.Objs.Property<MediaError> error
public net.java.html.lib.Objs.Property<Boolean> loop
public net.java.html.lib.Objs.Property<String> msAudioCategory
public net.java.html.lib.Objs.Property<String> msAudioDeviceType
public net.java.html.lib.Objs.Property<MSGraphicsTrust> msGraphicsTrustStatus
public net.java.html.lib.Objs.Property<MSMediaKeys> msKeys
public net.java.html.lib.Objs.Property<Boolean> msPlayToDisabled
public net.java.html.lib.Objs.Property<String> msPlayToPreferredSourceUri
public net.java.html.lib.Objs.Property<Boolean> msPlayToPrimary
public net.java.html.lib.Objs.Property<Object> msPlayToSource
public net.java.html.lib.Objs.Property<Boolean> msRealTime
public net.java.html.lib.Objs.Property<Boolean> muted
public net.java.html.lib.Objs.Property<Number> networkState
public net.java.html.lib.Objs.Property<net.java.html.lib.Function.A1<? super MSMediaKeyNeededEvent,? extends Object>> onmsneedkey
public net.java.html.lib.Objs.Property<Boolean> paused
public net.java.html.lib.Objs.Property<Number> playbackRate
public net.java.html.lib.Objs.Property<TimeRanges> played
public net.java.html.lib.Objs.Property<String> preload
public net.java.html.lib.Objs.Property<Object> readyState
public net.java.html.lib.Objs.Property<TimeRanges> seekable
public net.java.html.lib.Objs.Property<Boolean> seeking
public net.java.html.lib.Objs.Property<String> src
public net.java.html.lib.Objs.Property<TextTrackList> textTracks
public net.java.html.lib.Objs.Property<VideoTrackList> videoTracks
public net.java.html.lib.Objs.Property<Number> volume
public net.java.html.lib.Objs.Property<Number> HAVE_CURRENT_DATA
public net.java.html.lib.Objs.Property<Number> HAVE_ENOUGH_DATA
public net.java.html.lib.Objs.Property<Number> HAVE_FUTURE_DATA
public net.java.html.lib.Objs.Property<Number> HAVE_METADATA
public net.java.html.lib.Objs.Property<Number> HAVE_NOTHING
public net.java.html.lib.Objs.Property<Number> NETWORK_EMPTY
public net.java.html.lib.Objs.Property<Number> NETWORK_IDLE
public net.java.html.lib.Objs.Property<Number> NETWORK_LOADING
public net.java.html.lib.Objs.Property<Number> NETWORK_NO_SOURCE
protected HTMLMediaElement(net.java.html.lib.Objs.Constructor<?> c,
Object js)
public static HTMLMediaElement $as(Object obj)
public AudioTrackList audioTracks()
public Boolean autoplay()
public TimeRanges buffered()
public Boolean controls()
public String currentSrc()
public Number currentTime()
public Boolean defaultMuted()
public Number defaultPlaybackRate()
public Number duration()
public Boolean ended()
public MediaError error()
public Boolean loop()
public String msAudioCategory()
public String msAudioDeviceType()
public MSGraphicsTrust msGraphicsTrustStatus()
public MSMediaKeys msKeys()
public Boolean msPlayToDisabled()
public String msPlayToPreferredSourceUri()
public Boolean msPlayToPrimary()
public Boolean msRealTime()
public Boolean muted()
public Number networkState()
public net.java.html.lib.Function.A1<? super MSMediaKeyNeededEvent,? extends Object> onmsneedkey()
public Boolean paused()
public Number playbackRate()
public TimeRanges played()
public String preload()
public TimeRanges seekable()
public Boolean seeking()
public String src()
public TextTrackList textTracks()
public VideoTrackList videoTracks()
public Number volume()
public Number HAVE_CURRENT_DATA()
public Number HAVE_ENOUGH_DATA()
public Number HAVE_FUTURE_DATA()
public Number HAVE_METADATA()
public Number HAVE_NOTHING()
public Number NETWORK_EMPTY()
public Number NETWORK_IDLE()
public Number NETWORK_LOADING()
public Number NETWORK_NO_SOURCE()
public void addEventListener(String type, EventListener listener, Boolean useCapture)
addEventListener in class HTMLElementpublic void addEventListener(String type, EventListenerObject listener, Boolean useCapture)
addEventListener in class HTMLElementpublic void addEventListener(String type, EventListener listener)
addEventListener in class HTMLElementpublic void addEventListener(String type, EventListenerObject listener)
addEventListener in class HTMLElementpublic void addEventListener(Void type, net.java.html.lib.Function.A1<? super WheelEvent,? extends Object> listener, Boolean useCapture)
addEventListener in class HTMLElementpublic void addEventListener(Void type, net.java.html.lib.Function.A1<? super WheelEvent,? extends Object> listener)
addEventListener in class HTMLElementpublic String canPlayType(String type)
public void load()
public void msClearEffects()
public Object msGetAsCastingSource()
public void msInsertAudioEffect(String activatableClassId, Boolean effectRequired, Object config)
public void msInsertAudioEffect(String activatableClassId, Boolean effectRequired)
public void msSetMediaKeys(MSMediaKeys mediaKeys)
public void msSetMediaProtectionManager(Object mediaProtectionManager)
public void msSetMediaProtectionManager()
public void pause()
public void play()
Copyright © 2021. All rights reserved.