---
title: type
framework: tvmljs
role: symbol
role_heading: Instance Property
path: tvmljs/mediaitem/1627315-type
---

# type

The type of media item.

## Declaration

```data
attribute String type;
```

## Discussion

Discussion The valid values for this attribute are audio and video.

## See Also

### Identifying Media Items

- [artworkImageURL](tvmljs/mediaitem/1627319-artworkimageurl.md)
- [description](tvmljs/mediaitem/1627441-description.md)
- [subtitle](tvmljs/mediaitem/1627329-subtitle.md)
- [title](tvmljs/mediaitem/1627381-title.md)
- [url](tvmljs/mediaitem/1627401-url.md)
