Skip to content

Player() - Classes


Properties

audioChannels
audioRate
averageBitrate
bitrate
contentLength
dB
DurationMs
expireDate
quality
type
url
urlDecoded

Properties

audioChannels

The audio channels of the music (1='mono', 2='stereo', ...)

Builder:

javascript
Player.audioChannels

Return:numberLink

audioRate

The audio rate of the music (44100, 48000, ...)

Builder:

javascript
Player.audioRate

Return:numberLink

averageBitrate

The average bitrate of the music

Builder:

javascript
Player.averageBitrate

Return:numberLink

bitrate

The bitrate of the player content

Builder:

javascript
Player.bitrate

Return:numberLink

contentLength

The content length of the music

Builder:

javascript
Player.contentLength

Return:numberLink

dB

The dB of the music

Builder:

javascript
Player.dB

Return:numberLink

DurationMs

The duration of the music in milliseconds

Builder:

javascript
Player.DurationMs

Return:numberLink

expireDate

The expire date of the url

Builder:

javascript
Player.expireDate

Return:dateLink

quality

The quality of the music

Builder:

javascript
Player.quality

Return:stringLink

type

The type of the content (audio/mp4, audio/webm, ...)

Builder:

javascript
Player.type

Return:stringLink

url

The url of the player content

Builder:

javascript
Player.url

Return:() => promiseLink<string>

urlDecoded

The url of the player content decoded

Builder:

javascript
Player.urlDecoded

Return:stringLink