Article

itemBanner

Displays information associated with an element.

Overview

Use itemBanner element to display information inside of a relatedContent element. Here's an example that displays an image and three buttons related to a media item.

<itemBanner>
   <heroImg src="path to images on your server/Car_Movie_720x1080" />
   <row>
      <buttonLockup>
         <badge src="resource://button-add"/>
         <title>Add</title>
      </buttonLockup>
      <buttonLockup>
         <badge src="resource://button-rate"/>
         <title>Rate</title>
       </buttonLockup>
      <buttonLockup>
         <badge src="resource://button-shuffle"/>
         <title>Shuffle</title>
      </buttonLockup>
   </row>
</itemBanner>

Subelements of itemBanner

Elements that Use itemBanner

Topics

Valid TVML Styles

margin

Specifies the spacing around an element.

width

Specifies how wide an element is.

Valid TVML Attributes

binding

Associates information in a data item with an element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Banner Elements

banner

Displays information along the top of a TVML page.

identityBanner

Displays information about an artist or performer.