player
PlaylistPlayer
projectId
ProjectId
to get the default Project Playlist with latest audiosplaylistId
PlaylistId
to get a custom playlistplaylist
{ key: value }
where key
can be one of (podcastId
| externalId
| playlistId
) The array should be sorted in the order that you wish the audios to appear in the playlistrenderNode
beyondwords-player
UIEnabled
publisherColor
#000000
publisherTextColor
#000000
publisherBgColor
#F5F5F5
AppInst.play()
, or you can create an new object within the window object and add the methods you want available, as shown here:YourApp.paused()
.play()
play()
also returns a promise which can be resolved when playback has started, or is rejected if for some reason playback cannot be started.pause()
changeLang(lang)
en_GB
currentTime()
28.05
duration()
28.05
remainingTime()
28.05
changeCurrentTime(seconds)
18.05
rewind(seconds)
15.0
forward(seconds)
15.0
getCurrent()
setCurrent(index)
previous()
next()
getPlaylist()
getPlaylistItem(index)
loadPlaylist(arrayIDs)
arrayIDs
:isAudioReady(object)
playbackRate()
changePlaybackRate(number)
0.5, 1, 1.25, 1.5, 2
currentMedia()
changeColor(object)
on
and off
listener to bind your functions to the events:appInst.events
supported a next methodson(type, handler)
: Register an event handler for the given typeoff(type, handler)
: Remove an event handler for the given typeduration
number28.05
.progress
number28.05
.index
numberduration
number28.05
.progress
number28.05
.index
number28.05
.duration
number28.05
.progress
number28.05
.index
numberplaybackRate
number1.5
.index
number