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

# mediaContent

Contains information used to play inline audio or video.

## Overview

Access the embedded player using `mediaContent.getFeature('Player');` in your TVMLKit
JS file. Create the required media items and push them onto the playlist. Assign
the new playlist to your inline player to begin playback.

### Subelements of mediaContent

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

### Elements that Use mediaContent

- [divTemplate](/documentation/TVML/divtemplate)
- [lockup](/documentation/TVML/lockup)
- [background](/documentation/TVML/background)

## Topics

### Valid TVML Attributes

[binding](/documentation/TVML/binding)

Associates information in a data item with an element.

[audioMode](/documentation/TVML/audiomode)

Specifies how audio is played during inline playback.

[playbackMode](/documentation/TVML/playbackmode)

Specifies when inline playback of a media item starts.

[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)