![]() |
Previous | Next |
The setItemInfo method sets the value of the specified attribute for the current media item.
Syntax
player.currentMedia.setItemInfo(attribute, value)
Parameters
attribute
String containing the attribute name.
value
String containing the new value.
Return Values
This method does not return a value.
Remarks
Before using this method, use the isReadOnlyItem method to determine if a particular attribute can be set.
Example
Please see the Playlist.attributeCount property for a sample illustrating the use of this property.
See Also
Previous | Next |