public class HTMLMediaElement extends HTMLElement
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<AudioTrackList> |
audioTracks
Returns an AudioTrackList object with the audio tracks for a given video element.
|
Objs.Property<Boolean> |
autoplay
Gets or sets a value that indicates whether to start playing the media automatically.
|
Objs.Property<TimeRanges> |
buffered
Gets a collection of buffered time ranges.
|
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).
|
Objs.Property<String> |
currentSrc
Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.
|
Objs.Property<Number> |
currentTime
Gets or sets the current playback position, in seconds.
|
Objs.Property<Boolean> |
defaultMuted |
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.
|
Objs.Property<Number> |
duration
Returns the duration in seconds of the current media resource.
|
Objs.Property<Boolean> |
ended
Gets information about whether the playback has ended or not.
|
Objs.Property<MediaError> |
error
Returns an object representing the current error state of the audio or video element.
|
Objs.Property<Number> |
HAVE_CURRENT_DATA |
Objs.Property<Number> |
HAVE_ENOUGH_DATA |
Objs.Property<Number> |
HAVE_FUTURE_DATA |
Objs.Property<Number> |
HAVE_METADATA |
Objs.Property<Number> |
HAVE_NOTHING |
Objs.Property<Boolean> |
loop
Gets or sets a flag to specify whether playback should restart after it completes.
|
Objs.Property<String> |
msAudioCategory
Specifies the purpose of the audio or video media, such as background audio or alerts.
|
Objs.Property<String> |
msAudioDeviceType
Specifies the output device id that the audio will be sent to.
|
Objs.Property<MSGraphicsTrust> |
msGraphicsTrustStatus |
Objs.Property<MSMediaKeys> |
msKeys
Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.
|
Objs.Property<Boolean> |
msPlayToDisabled
Gets or sets whether the DLNA PlayTo device is available.
|
Objs.Property<String> |
msPlayToPreferredSourceUri
Gets or sets the path to the preferred media source.
|
Objs.Property<Boolean> |
msPlayToPrimary
Gets or sets the primary DLNA PlayTo device.
|
Objs.Property<Object> |
msPlayToSource
Gets the source associated with the media element for use by the PlayToManager.
|
Objs.Property<Boolean> |
msRealTime
Specifies whether or not to enable low-latency playback on the media element.
|
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.
|
Objs.Property<Number> |
NETWORK_EMPTY |
Objs.Property<Number> |
NETWORK_IDLE |
Objs.Property<Number> |
NETWORK_LOADING |
Objs.Property<Number> |
NETWORK_NO_SOURCE |
Objs.Property<Number> |
networkState
Gets the current network activity for the element.
|
Objs.Property<Function.A1<? super MSMediaKeyNeededEvent,? extends Object>> |
onmsneedkey |
Objs.Property<Boolean> |
paused
Gets a flag that specifies whether playback is paused.
|
Objs.Property<Number> |
playbackRate
Gets or sets the current rate of speed for the media resource to play.
|
Objs.Property<TimeRanges> |
played
Gets TimeRanges for the current media resource that has been played.
|
Objs.Property<String> |
preload
Gets or sets the current playback position, in seconds.
|
Objs.Property<Object> |
readyState |
Objs.Property<TimeRanges> |
seekable
Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
|
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.
|
Objs.Property<String> |
src
The address or URL of the a media resource that is to be considered.
|
Objs.Property<TextTrackList> |
textTracks |
Objs.Property<VideoTrackList> |
videoTracks |
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, title
classList, 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, tagName
ATTRIBUTE_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(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, title
classList, 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, webkitRequestFullScreen
appendChild, 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, textContent
dispatchEvent, 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, valueOf
public Objs.Property<AudioTrackList> audioTracks
public Objs.Property<Boolean> autoplay
public Objs.Property<TimeRanges> buffered
public Objs.Property<Boolean> controls
public Objs.Property<String> currentSrc
public Objs.Property<Number> currentTime
public Objs.Property<Boolean> defaultMuted
public Objs.Property<Number> defaultPlaybackRate
public Objs.Property<Number> duration
public Objs.Property<Boolean> ended
public Objs.Property<MediaError> error
public Objs.Property<Boolean> loop
public Objs.Property<String> msAudioCategory
public Objs.Property<String> msAudioDeviceType
public Objs.Property<MSGraphicsTrust> msGraphicsTrustStatus
public Objs.Property<MSMediaKeys> msKeys
public Objs.Property<Boolean> msPlayToDisabled
public Objs.Property<String> msPlayToPreferredSourceUri
public Objs.Property<Boolean> msPlayToPrimary
public Objs.Property<Object> msPlayToSource
public Objs.Property<Boolean> msRealTime
public Objs.Property<Boolean> muted
public Objs.Property<Number> networkState
public Objs.Property<Function.A1<? super MSMediaKeyNeededEvent,? extends Object>> onmsneedkey
public Objs.Property<Boolean> paused
public Objs.Property<Number> playbackRate
public Objs.Property<TimeRanges> played
public Objs.Property<String> preload
public Objs.Property<Object> readyState
public Objs.Property<TimeRanges> seekable
public Objs.Property<Boolean> seeking
public Objs.Property<String> src
public Objs.Property<TextTrackList> textTracks
public Objs.Property<VideoTrackList> videoTracks
public Objs.Property<Number> volume
public Objs.Property<Number> HAVE_CURRENT_DATA
public Objs.Property<Number> HAVE_ENOUGH_DATA
public Objs.Property<Number> HAVE_FUTURE_DATA
public Objs.Property<Number> HAVE_METADATA
public Objs.Property<Number> HAVE_NOTHING
public Objs.Property<Number> NETWORK_EMPTY
public Objs.Property<Number> NETWORK_IDLE
public Objs.Property<Number> NETWORK_LOADING
public Objs.Property<Number> NETWORK_NO_SOURCE
protected HTMLMediaElement(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 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 HTMLElement
public void addEventListener(String type, EventListenerObject listener, Boolean useCapture)
addEventListener
in class HTMLElement
public void addEventListener(String type, EventListener listener)
addEventListener
in class HTMLElement
public void addEventListener(String type, EventListenerObject listener)
addEventListener
in class HTMLElement
public void addEventListener(Void type, Function.A1<? super WheelEvent,? extends Object> listener, Boolean useCapture)
addEventListener
in class HTMLElement
public void addEventListener(Void type, Function.A1<? super WheelEvent,? extends Object> listener)
addEventListener
in class HTMLElement
public 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 © 2018. All rights reserved.