> For the complete documentation index, see [llms.txt](https://elacity.gitbook.io/elacity-sdks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elacity.gitbook.io/elacity-sdks/documentation/media-player/api/types.md).

# Media Player Types

This page documents the key TypeScript-facing value shapes used by the Media Player API.

The player is intentionally API-first, and most integrations can rely on the types inferred from the setup and player methods directly.

## Common Type Areas

* **Setup configuration types**: See [Setup & Configuration](https://elacity.gitbook.io/elacity-sdks/documentation/media-player/api/setup.md).
* **Playback/runtime option types**: See [Player API](https://elacity.gitbook.io/elacity-sdks/documentation/media-player/api/player.md).
* **Event payload types**: See [Events](https://elacity.gitbook.io/elacity-sdks/documentation/media-player/api/events.md).

## Integration Guidance

* Prefer importing official exported types from the media-player package when available.
* Keep your application-facing wrappers narrow and map only the options/events you actively use.
* For long-lived apps, pin the media-player version and upgrade with type-checking enabled.
