<!--
{
  "availability" : [
    "Apple News Format: 1.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppleNewsFormat",
  "identifier" : "/documentation/AppleNewsFormat/Music",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple News Format"
    ],
    "preciseIdentifier" : "data:news_format:Music"
  },
  "title" : "Music"
}
-->

# Music

The component for adding a playable music file.

```
object Music
```

## Discussion

Use the `Music` component to play an audio file. You can also include album art (or another image that represents the music).

See <doc://com.apple.applenews/documentation/AppleNews/preparing-image-video-audio-music-and-arkit-assets>.

### Example

```json
{
  "components": [
    {
      "role": "music",
      "URL": "http://www.example.com/files/sample.mp3",
      "imageURL": "bundle://album_cover.jpg",
      "caption": "Cosmic-Karmic by Retake Chorus"
    }
  ]
}
```

## Relationships

### Inherits From

[`Component`](/documentation/AppleNewsFormat/Component)

---

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)