Properties
config
@descConfiguration passed by user@typeObject[readonly]
see Configuration for more details
root
@descDOM node that player mount on@typeHTMLElement[readonly]
video
@descPlayer media element@typeObject[readonly]
autoplay
@descAuto play@typeBoolean[readable & writable]
buffered
@descHTMLMediaElement.buffered, returns a 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.@typeTimeRange[readonly]
played
@descHTMLMediaElement.played, returns a TimeRanges object that contains the ranges of the media source that the browser has played, if any.@typeTimeRange[readonly]
crossOrigin
@descHTMLMediaElement.crossOrigin, a DOMString indicating the CORS setting for this media element.@typeString[readable & writable]
currentSrc
@descHTMLMediaElement.currentSrc, returns a DOMString with the absolute URL of the chosen media resource.@typeString[readable & writable]
currentTime
@descHTMLMediaElement.currentTime, a double-precision floating-point value indicating the current playback time in seconds; if the media has not started to play and has not been seeked, this value is the media's initial playback time. Setting this value seeks the media to the new time. The time is specified relative to the media's timeline.@typeNumber[readable & writable]
duration
@descHTMLMediaElement.duration, a read-only double-precision floating-point value indicating the total duration of the media in seconds@typeNumber[readonly]
cumulateTime
@descThe cumulate time player has played in millisecond@typeNumber[readonly]
volume
@descHTMLMediaElement.volume, indicates the audio volume, from 0.0 (silent) to 1.0 (loudest).@typeNumber[readable & writable]
muted
@descHTMLMediaElement.muted, determines whether audio is muted. true if the audio is muted and false otherwise.@typeBoolean[readable & writable]
defaultMuted
@descHTMLMediaElement.defaultMuted, reflects the muted HTML attribute, which indicates whether the media element's audio output should be muted by default.@typeBoolean[readonly]
playbackRate
@descHTMLMediaElement.playbackRate, a double that indicates the rate at which the media is being played back@typeNumber[readonly]
error
@descHTMLMediaElement.error, returns a MediaError object for the most recent error, or null if there has not been an error.@typeString[readonly]
errorNote
@descMedia error code constants, returns a MediaError code constants for the most recent error, or '' if there has not been an error.@typeString[readonly]
loop
@descHTMLMediaElement.loop, reflects the loop HTML attribute, which indicates whether the media element should start over when it reaches the end.@typeBoolean[readable & writable]
src
@descHTMLMediaElement.src, a DOMString that reflects the src HTML attribute, which contains the URL of a media resource to use. Set this attributes and player would start to load a new media resource you assigned.@typeString[readable & writable]
lang
@descSet or get current language player is now using@typestring[readable & writable]
version
@descGet player built version@typestring[readable & writable]
controls
@descSet or get@typePlugin[readable & writable]
Get control bar element,for more details seecontrols
innerContainer
@descbuiltin DOM container, only accessible whenconfig.marginControlsis setted totrue@typeHTMLElement[readonly]