![]() |
Previous | Next |
The playItem method plays the specified media item.
Syntax
player.controls.playItem(theMediaItem)
Parameters
theMediaItem
Media object to be played.
Return Values
This method does not return a value.
Remarks
The media item will be loaded and played automatically, regardless of the value of the Settings.autoStart property. To load an item without playing it automatically, assign a value to Player.URL, after which Controls.play can be called to start playing the item.
Note
playItem works only with items in currentPlaylist. Calling playItem with a reference to a saved media item is not supported.
See Also
Previous | Next |