---
title: nextMediaItem
framework: tvmljs
role: symbol
role_heading: Instance Property
path: tvmljs/player/1627338-nextmediaitem
---

# nextMediaItem

The next media item in the playlist after the currently selected item.

## Declaration

```data
readonly attribute MediaItem nextMediaItem;
```

## Discussion

Discussion This property returns null if the current item is the last item in the playlist.

## See Also

### Inspecting Media Items

- [currentMediaItem](tvmljs/player/1627325-currentmediaitem.md)
- [currentMediaItemDate](tvmljs/player/1837542-currentmediaitemdate.md)
- [currentMediaItemDuration](tvmljs/player/1682110-currentmediaitemduration.md)
- [previousMediaItem](tvmljs/player/1627373-previousmediaitem.md)
