public class JsMediaElement extends JsElement implements MediaElement
EOS_DECODE_ERR, EOS_NETWORK_ERR, EOS_NO_ERROR, HAVE_CURRENT_DATA, HAVE_ENOUGH_DATA, HAVE_FUTURE_DATA, HAVE_METADATA, HAVE_NOTHING, NETWORK_EMPTY, NETWORK_IDLE, NETWORK_LOADING, NETWORK_NO_SOURCE, SOURCE_CLOSED, SOURCE_ENDED, SOURCE_OPEN
ALLOW_KEYBOARD_INPUT
ATTRIBUTE_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, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsMediaElement() |
Modifier and Type | Method and Description |
---|---|
JsTextTrack |
addTextTrack(String kind) |
JsTextTrack |
addTextTrack(String kind,
String label) |
JsTextTrack |
addTextTrack(String kind,
String label,
String language) |
String |
canPlayType(String type,
String keySystem)
Determines whether the specified media type can be played back.
|
JsTimeRanges |
getBuffered()
The ranges of the media source that the browser has buffered, if any.
|
JsMediaController |
getController() |
String |
getCurrentSrc()
The absolute URL of the chosen media resource (if, for example, the server selects a media file based on the resolution of the user's display), or an empty string if the
networkState is EMPTY . |
float |
getCurrentTime()
The current playback time, in seconds. Setting this value seeks the media to the new time.
|
float |
getDefaultPlaybackRate()
The default playback rate for the media. The Ogg backend does not support this. 1.0 is "normal speed," values lower than 1.0 make the media play slower than normal, higher values make it play faster. The value 0.0 is invalid and throws a
NOT_SUPPORTED_ERR exception. |
float |
getDuration()
The length of the media in seconds, or zero if no media data is available. If the media data is available but the length is unknown, this value is
NaN . If the media is streamed and has no predefined length, the value is Inf . |
JsMediaError |
getError()
The media error object for the most recent error, or null if there has not been an error.
|
double |
getInitialTime() |
String |
getMediaGroup() |
int |
getNetworkState()
The current state of fetching the media over the network.
|
EventListener |
getOnwebkitkeyadded() |
EventListener |
getOnwebkitkeyerror() |
EventListener |
getOnwebkitkeymessage() |
EventListener |
getOnwebkitneedkey() |
EventListener |
getOnwebkitsourceclose() |
EventListener |
getOnwebkitsourceended() |
EventListener |
getOnwebkitsourceopen() |
float |
getPlaybackRate()
The current rate at which the media is being played back.
|
JsTimeRanges |
getPlayed()
The ranges of the media source that the browser has played, if any.
|
String |
getPreload()
Reflects the
preload
HTML attribute, indicating what data should be preloaded at page-load time, if any. |
int |
getReadyState()
The readiness state of the media:
|
JsTimeRanges |
getSeekable()
The time ranges that the user is able to seek to, if any.
|
String |
getSrc()
Reflects the
src
HTML attribute, containing the URL of a media resource to use. |
float |
getStartTime()
The earliest possible position in the media, in seconds.
|
JsTextTrackList |
getTextTracks() |
float |
getVolume()
The audio volume, from 0.0 (silent) to 1.0 (loudest).
|
int |
getWebkitAudioDecodedByteCount() |
String |
getWebkitMediaSourceURL() |
int |
getWebkitSourceState() |
int |
getWebkitVideoDecodedByteCount() |
boolean |
isAutoplay()
Reflects the
autoplay
HTML attribute, indicating whether to begin playing as soon as enough media is available. |
boolean |
isControls()
Reflects the
controls
HTML attribute, indicating whether user interface items for controlling the resource should be displayed. |
boolean |
isDefaultMuted()
Reflects the
muted
HTML attribute, indicating whether the media element's audio output should be muted by default. |
boolean |
isEnded()
Indicates whether the media element has ended playback.
|
boolean |
isLoop()
Reflects the
loop
HTML attribute, indicating whether the media element should start over when it reaches the end. |
boolean |
isMuted()
true if the audio is muted, and false otherwise. |
boolean |
isPaused()
Indicates whether the media element is paused.
|
boolean |
isSeeking()
Indicates whether the media is in the process of seeking to a new position.
|
boolean |
isWebkitClosedCaptionsVisible() |
boolean |
isWebkitHasClosedCaptions() |
boolean |
isWebkitPreservesPitch() |
void |
load()
Begins loading the media content from the server.
|
void |
pause()
Pauses the media playback.
|
void |
play()
Begins playback of the media.
|
void |
setAutoplay(boolean param_autoplay) |
void |
setController(MediaController param_controller) |
void |
setControls(boolean param_controls) |
void |
setCurrentTime(float param_currentTime) |
void |
setDefaultMuted(boolean param_defaultMuted) |
void |
setDefaultPlaybackRate(float param_defaultPlaybackRate) |
void |
setLoop(boolean param_loop) |
void |
setMediaGroup(String param_mediaGroup) |
void |
setMuted(boolean param_muted) |
void |
setOnwebkitkeyadded(EventListener listener) |
void |
setOnwebkitkeyerror(EventListener listener) |
void |
setOnwebkitkeymessage(EventListener listener) |
void |
setOnwebkitneedkey(EventListener listener) |
void |
setOnwebkitsourceclose(EventListener listener) |
void |
setOnwebkitsourceended(EventListener listener) |
void |
setOnwebkitsourceopen(EventListener listener) |
void |
setPlaybackRate(float param_playbackRate) |
void |
setPreload(String param_preload) |
void |
setSrc(String param_src) |
void |
setVolume(float param_volume) |
void |
setWebkitClosedCaptionsVisible(boolean param_webkitClosedCaptionsVisible) |
void |
setWebkitPreservesPitch(boolean param_webkitPreservesPitch) |
void |
webkitAddKey(String keySystem,
Uint8Array key) |
void |
webkitAddKey(String keySystem,
Uint8Array key,
Uint8Array initData,
String sessionId) |
void |
webkitCancelKeyRequest(String keySystem,
String sessionId) |
void |
webkitGenerateKeyRequest(String keySystem) |
void |
webkitGenerateKeyRequest(String keySystem,
Uint8Array initData) |
void |
webkitSourceAbort(String id) |
void |
webkitSourceAddId(String id,
String type) |
void |
webkitSourceAppend(String id,
Uint8Array data) |
JsTimeRanges |
webkitSourceBuffered(String id) |
void |
webkitSourceEndOfStream(int status) |
void |
webkitSourceRemoveId(String id) |
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
appendChild, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
blur, click, focus, getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getChildElementCount, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getDataset, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnerror, getOnfocus, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnselect, getOnselectstart, getOnsubmit, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getOuterText, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTabIndex, getTagName, getTitle, getWebkitdropzone, getWebkitRegionOverflow, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, isDraggable, isHidden, isSpellcheck, isTranslate, querySelector, querySelectorAll, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewIfNeeded, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerHTML, setInnerText, setLang, setOnabort, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnerror, setOnfocus, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnselect, setOnselectstart, setOnsubmit, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setOuterText, setScrollLeft, setScrollTop, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent
intAt, length
numberAt
public final boolean isAutoplay()
MediaElement
autoplay
HTML attribute, indicating whether to begin playing as soon as enough media is available.isAutoplay
in interface MediaElement
public final void setAutoplay(boolean param_autoplay)
setAutoplay
in interface MediaElement
public final JsTimeRanges getBuffered()
MediaElement
getBuffered
in interface MediaElement
public final JsMediaController getController()
getController
in interface MediaElement
public final void setController(MediaController param_controller)
setController
in interface MediaElement
public final boolean isControls()
MediaElement
controls
HTML attribute, indicating whether user interface items for controlling the resource should be displayed.isControls
in interface MediaElement
public final void setControls(boolean param_controls)
setControls
in interface MediaElement
public final String getCurrentSrc()
MediaElement
networkState
is EMPTY
.getCurrentSrc
in interface MediaElement
public final float getCurrentTime()
MediaElement
getCurrentTime
in interface MediaElement
public final void setCurrentTime(float param_currentTime)
setCurrentTime
in interface MediaElement
public final boolean isDefaultMuted()
MediaElement
muted
HTML attribute, indicating whether the media element's audio output should be muted by default. Changing the value dynamically will not unmute the audio (it only controls the default state).isDefaultMuted
in interface MediaElement
public final void setDefaultMuted(boolean param_defaultMuted)
setDefaultMuted
in interface MediaElement
public final float getDefaultPlaybackRate()
MediaElement
NOT_SUPPORTED_ERR
exception.getDefaultPlaybackRate
in interface MediaElement
public final void setDefaultPlaybackRate(float param_defaultPlaybackRate)
setDefaultPlaybackRate
in interface MediaElement
public final float getDuration()
MediaElement
NaN
. If the media is streamed and has no predefined length, the value is Inf
.getDuration
in interface MediaElement
public final boolean isEnded()
MediaElement
isEnded
in interface MediaElement
public final JsMediaError getError()
MediaElement
getError
in interface MediaElement
public final double getInitialTime()
getInitialTime
in interface MediaElement
public final boolean isLoop()
MediaElement
loop
HTML attribute, indicating whether the media element should start over when it reaches the end.isLoop
in interface MediaElement
public final void setLoop(boolean param_loop)
setLoop
in interface MediaElement
public final String getMediaGroup()
getMediaGroup
in interface MediaElement
public final void setMediaGroup(String param_mediaGroup)
setMediaGroup
in interface MediaElement
public final boolean isMuted()
MediaElement
true
if the audio is muted, and false
otherwise.isMuted
in interface MediaElement
public final void setMuted(boolean param_muted)
setMuted
in interface MediaElement
public final int getNetworkState()
MediaElement
The current state of fetching the media over the network.
Constant | Value | Description |
EMPTY | 0 | There is no data yet. The readyState is also HAVE_NOTHING . |
LOADING | 1 | The media is loading. |
LOADED_METADATA | 2 | The media's metadata has been loaded. |
LOADED_FIRST_FRAME | 3 | The media's first frame has been loaded. |
LOADED | 4 | The media has been fully loaded. |
getNetworkState
in interface MediaElement
public final EventListener getOnwebkitkeyadded()
getOnwebkitkeyadded
in interface MediaElement
public final void setOnwebkitkeyadded(EventListener listener)
setOnwebkitkeyadded
in interface MediaElement
public final EventListener getOnwebkitkeyerror()
getOnwebkitkeyerror
in interface MediaElement
public final void setOnwebkitkeyerror(EventListener listener)
setOnwebkitkeyerror
in interface MediaElement
public final EventListener getOnwebkitkeymessage()
getOnwebkitkeymessage
in interface MediaElement
public final void setOnwebkitkeymessage(EventListener listener)
setOnwebkitkeymessage
in interface MediaElement
public final EventListener getOnwebkitneedkey()
getOnwebkitneedkey
in interface MediaElement
public final void setOnwebkitneedkey(EventListener listener)
setOnwebkitneedkey
in interface MediaElement
public final EventListener getOnwebkitsourceclose()
getOnwebkitsourceclose
in interface MediaElement
public final void setOnwebkitsourceclose(EventListener listener)
setOnwebkitsourceclose
in interface MediaElement
public final EventListener getOnwebkitsourceended()
getOnwebkitsourceended
in interface MediaElement
public final void setOnwebkitsourceended(EventListener listener)
setOnwebkitsourceended
in interface MediaElement
public final EventListener getOnwebkitsourceopen()
getOnwebkitsourceopen
in interface MediaElement
public final void setOnwebkitsourceopen(EventListener listener)
setOnwebkitsourceopen
in interface MediaElement
public final boolean isPaused()
MediaElement
isPaused
in interface MediaElement
public final float getPlaybackRate()
MediaElement
getPlaybackRate
in interface MediaElement
public final void setPlaybackRate(float param_playbackRate)
setPlaybackRate
in interface MediaElement
public final JsTimeRanges getPlayed()
MediaElement
getPlayed
in interface MediaElement
public final String getPreload()
MediaElement
preload
HTML attribute, indicating what data should be preloaded at page-load time, if any.getPreload
in interface MediaElement
public final void setPreload(String param_preload)
setPreload
in interface MediaElement
public final int getReadyState()
MediaElement
The readiness state of the media:
Constant | Value | Description |
HAVE_NOTHING | 0 | No information is available about the media resource. |
HAVE_METADATA | 1 | Enough of the media resource has been retrieved that the metadata attributes are initialized. Seeking will no longer raise an exception. |
HAVE_CURRENT_DATA | 2 | Data is available for the current playback position, but not enough to actually play more than one frame. |
HAVE_FUTURE_DATA | 3 | Data for the current playback position as well as for at least a little bit of time into the future is available (in other words, at least two frames of video, for example). |
HAVE_ENOUGH_DATA | 4 | Enough data is available—and the download rate is high enough—that the media can be played through to the end without interruption. |
getReadyState
in interface MediaElement
public final JsTimeRanges getSeekable()
MediaElement
getSeekable
in interface MediaElement
public final boolean isSeeking()
MediaElement
isSeeking
in interface MediaElement
public final String getSrc()
MediaElement
src
HTML attribute, containing the URL of a media resource to use.getSrc
in interface MediaElement
public final void setSrc(String param_src)
setSrc
in interface MediaElement
public final float getStartTime()
MediaElement
getStartTime
in interface MediaElement
public final JsTextTrackList getTextTracks()
getTextTracks
in interface MediaElement
public final float getVolume()
MediaElement
getVolume
in interface MediaElement
public final void setVolume(float param_volume)
setVolume
in interface MediaElement
public final int getWebkitAudioDecodedByteCount()
getWebkitAudioDecodedByteCount
in interface MediaElement
public final boolean isWebkitClosedCaptionsVisible()
isWebkitClosedCaptionsVisible
in interface MediaElement
public final void setWebkitClosedCaptionsVisible(boolean param_webkitClosedCaptionsVisible)
setWebkitClosedCaptionsVisible
in interface MediaElement
public final boolean isWebkitHasClosedCaptions()
isWebkitHasClosedCaptions
in interface MediaElement
public final String getWebkitMediaSourceURL()
getWebkitMediaSourceURL
in interface MediaElement
public final boolean isWebkitPreservesPitch()
isWebkitPreservesPitch
in interface MediaElement
public final void setWebkitPreservesPitch(boolean param_webkitPreservesPitch)
setWebkitPreservesPitch
in interface MediaElement
public final int getWebkitSourceState()
getWebkitSourceState
in interface MediaElement
public final int getWebkitVideoDecodedByteCount()
getWebkitVideoDecodedByteCount
in interface MediaElement
public final JsTextTrack addTextTrack(String kind)
addTextTrack
in interface MediaElement
public final JsTextTrack addTextTrack(String kind, String label)
addTextTrack
in interface MediaElement
public final JsTextTrack addTextTrack(String kind, String label, String language)
addTextTrack
in interface MediaElement
public final String canPlayType(String type, String keySystem)
MediaElement
canPlayType
in interface MediaElement
public final void load()
MediaElement
load
in interface MediaElement
public final void pause()
MediaElement
pause
in interface MediaElement
public final void play()
MediaElement
play
in interface MediaElement
public final void webkitAddKey(String keySystem, Uint8Array key)
webkitAddKey
in interface MediaElement
public final void webkitAddKey(String keySystem, Uint8Array key, Uint8Array initData, String sessionId)
webkitAddKey
in interface MediaElement
public final void webkitCancelKeyRequest(String keySystem, String sessionId)
webkitCancelKeyRequest
in interface MediaElement
public final void webkitGenerateKeyRequest(String keySystem)
webkitGenerateKeyRequest
in interface MediaElement
public final void webkitGenerateKeyRequest(String keySystem, Uint8Array initData)
webkitGenerateKeyRequest
in interface MediaElement
public final void webkitSourceAbort(String id)
webkitSourceAbort
in interface MediaElement
public final void webkitSourceAddId(String id, String type)
webkitSourceAddId
in interface MediaElement
public final void webkitSourceAppend(String id, Uint8Array data)
webkitSourceAppend
in interface MediaElement
public final JsTimeRanges webkitSourceBuffered(String id)
webkitSourceBuffered
in interface MediaElement
public final void webkitSourceEndOfStream(int status)
webkitSourceEndOfStream
in interface MediaElement
public final void webkitSourceRemoveId(String id)
webkitSourceRemoveId
in interface MediaElement
Copyright © 2018. All rights reserved.