PlaylistPodcast
Package: | Fabs.boombox.playlist |
Defined In: | Podcast.js |
Class: | Podcast |
Extends: | Playlist |
Config Options | Defined By | |
---|---|---|
url : String The url of the podcast | Podcast | |
xml : XMLElement The xml element of the podcast | Podcast |
Method | Defined By | |
---|---|---|
Podcast( Object config )
Parameters:
| Podcast | |
addTrack( Object/Track track )
:
voidAdds an track to the current playlist Adds an track to the current playlist Parameters:
| Playlist | |
addTracks( Array tracks )
:
voidAdds an array of tracks to the playlist Adds an array of tracks to the playlist Parameters:
| Playlist | |
getNext( [Boolean shuffle ] )
:
voidReturns the next track, but does not immediately update the playlist index Returns the next track, but does not immediately update the playlist index Parameters:
| Playlist | |
loadUrl( String url )
:
voidLoad a url Load a url Parameters:
| Podcast | |
loadXML( XMLElement xml )
:
voidLoad the xml of the podcast Load the xml of the podcast Parameters:
| Podcast |
Event | Defined By | |
---|---|---|
trackadded :
( Track track , Playlist this )
Fires when the a track is added Fires when the a track is added Listeners will be called with the following arguments:
| Playlist | |
trackloaderror :
( Track track , Playlist this )
Fires when the a track does not load correctly Fires when the a track does not load correctly Listeners will be called with the following arguments:
| Playlist | |
trackpositionchange :
( Track track )
Listeners will be called with the following arguments:
| Playlist | |
trackremoved :
( Track track , Playlist this )
Fires when the a track is removed Fires when the a track is removed Listeners will be called with the following arguments:
| Playlist |