![]() |
Previous | Next |
The insertItem method inserts a media item into the playlist at the specified location.
Syntax
player.currentPlaylist.insertItem(index, item)
Parameters
index
Number (long) containing the index at which to add the item.
item
Media object to insert.
Return Values
This method does not return a value.
Remarks
All items after the inserted item will have their index numbers increased by one.
See Also
Previous | Next |