---
title: Playing Media in a Client-Server App
framework: tvmljs
role: sampleCode
role_heading: Sample Code
path: tvmljs/playing_media_in_a_client-server_app
---

# Playing Media in a Client-Server App

Play media items in a client-server app using the built-in media player for TVMLKit JS.

## Overview

Overview The TVML frameworks provide several built-in ways to play media items. After loading the initial page, the app automatically plays music in the background. The user navigates between two images and the app loads and plays a video or audio media item after the user selects an image. Both of these media items play using the built-in TVMLJKit JS media player.

## See Also

### Media Playback

- [Player](tvmljs/player.md)
- [Playlist](tvmljs/playlist.md)
- [MediaItem](tvmljs/mediaitem.md)
- [Slideshow](tvmljs/slideshow.md)
- [Browser](tvmljs/browser.md)
