Contents

nowPlayingMenuItem

Displays information about currently playing audio.

Overview

The nowPlayingMenuItem element is used to display information about audio playing in a menuBarTemplate. The nowPlayingMenuItem element automatically appears and disappears from the menu bar as the audio session starts and stops. Here’s an example of a menu bar with the now playing information and two menu items.

<menuBar>
   <nowPlayingMenuItem>
      <title>Now Playing Info</title>
   </nowPlayingMenuItem>
   <menuItem>
      <title>Item 1</title>
   <menuItem>
   <menuItem>
      <title>Item 2</title>
   <menuItem>
</menuBar>

Subelement of nowPlayingMenuItem

Elements that Use nowPlayingMenuItem

Topics

Valid TVML Attributes

See Also

Bar Elements