HBCMS更多的中文手册参考:

getItemInfo Method

DHTML文档教程

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

dhtml语法

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

更多语法参考

getattributename, currentItem