---
title: MusicVideos.Attributes
framework: applemusicapi
role: symbol
role_heading: Object
path: applemusicapi/musicvideos/attributes-data.dictionary
---

# MusicVideos.Attributes

The attributes for a music video resource.

## Declaration

```data
object MusicVideos.Attributes
```

## Properties

albumName: The name of the album the music video appears on. artistName: The artist’s name. artistUrl: (Extended) The URL of the artist for this content. artwork: The artwork for the music video’s associated album. contentRating: The Recording Industry Association of America (RIAA) rating of the content. No value means no rating. durationInMillis: The duration of the music video in milliseconds. editorialNotes: The editorial notes for the music video. genreNames: The music video’s associated genres. has4K: Whether the music video has 4K content. hasHDR: Whether the music video has HDR10-encoded content. inFavorites: Whether the catalog resource ID is in the person’s favorites. isrc: The International Standard Recording Code (ISRC) for the music video. name: The localized name of the music video. playParams: When present, indicates that the music video is available to play with an Apple Music subscription. The value map may be used to initiate playback. Previews of the music video may be available with or without an Apple Music subscription. previews: The preview assets for the music video. releaseDate: The release date of the music video, when known, in YYYY-MM-DD or YYYY format. Prerelease music videos may have an expected release date in the future. trackNumber: The number of the music video in the album’s track list, when associated with an album. url: The URL for sharing the music video in Apple Music. videoSubType: The video subtype associated with the content. workId: (Classical music only) A unique identifier for the associated work. workName: (Classical music only) The name of the associated work.

## See Also

### Related Objects

- [MusicVideos.Relationships](applemusicapi/musicvideos/relationships-data.dictionary.md)
- [MusicVideos.Views](applemusicapi/musicvideos/views-data.dictionary.md)
