getItemInfo

HTML (DHTML)

getItemInfo Method

Internet Development Index

Returns the value of the specified attribute for the current media.

Syntax

sVal = object.getItemInfo(sItemName)

Parameters

sItemName Required. String that specifies the attribute name.

Return Value

String that receives the value of the specified attribute.

Remarks

If no media is currently playing in the Media Bar, any attempt to access media attribute information with getItemInfo, getAttributeName, or attributeCount returns a script error.

Applies To

PlaylistInfo, MediaItem

See Also

getAttributeName, currentItem