<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/nowplayingmenuitem",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "nowPlayingMenuItem"
}
-->

# 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.

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

### Subelement of nowPlayingMenuItem

- [title](/documentation/TVML/title)

### Elements that Use nowPlayingMenuItem

- [menuBar](/documentation/TVML/menubar)

## Topics

### Valid TVML Attributes

[binding](/documentation/TVML/binding)

Associates information in a data item with an element.

[prototype](/documentation/TVML/prototype)

Associates a data item type with an element.

[theme](/documentation/TVML/theme)

Sets the color scheme for an element.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)