StreamPlayer() - Classes
Functions
Function bestAudio()
Get the best audio quality
Builder:
javascript
StreamPlayer.bestAudio()Return: Player
Function bestVideo()
Get the best video quality
Builder:
javascript
StreamPlayer.bestVideo()Return: Player
Properties
audios
The array of the music files streamable
Builder:
javascript
StreamPlayer.audiosavailable
If it's available
Builder:
javascript
StreamPlayer.availableReturn:boolean
maxBitrate
The max bitrate of the music
Builder:
javascript
StreamPlayer.maxBitrateReturn:number
unplayable_reason
Show unplayable reason
Builder:
javascript
StreamPlayer.unplayable_reasonReturn:string
videos
The array of the video files streamable
Builder:
javascript
StreamPlayer.videos