![]() |
Previous | Next |
The removeItem method removes the specified item from the playlist.
Syntax
player.currentPlaylist.removeItem(item)
Parameters
item
Media object to be removed.
Return Values
This method does not return a value.
Remarks
If the item removed is the currently playing track (Player.currentMedia), playback stops and the next item in the playlist becomes the current one. If there is no next item, the previous item is used, or if there are no other items, then Player.currentMedia is set to NULL.
See Also
Previous | Next |