![]() |
Previous | Next |
The moveItem method changes the location of an item in the playlist.
Syntax
player.currentPlaylist.moveItem(oldIndex, newIndex)
Parameters
oldIndex
Number (long) containing the old index.
newIndex
Number (long) containing the new index.
Return Values
This method does not return a value.
Remarks
Playlists stored in the database can change outside your control. Be sure to monitor and handle all Playlist events so that the order of items in the playlist does not change unexpectedly.
See Also
Previous | Next |