# Play Remote

Play media content defined by a remote service.

## How To

`TOP` supports playing content from the following services:

- Media Json - pass a `mediaId`
- Content Xml - specify a `content.xml` file

### Media Json

Use playByMediaJson API for playing content from a `mediaId` (see Media Json for more details):

    player.playByMediaJson({
        mediaId: 'b481d427055fdce823fa30b39abf07a931a67e44'
    });

### Content Xml

Use playByContentXml API for playing content from a content xml file (see Content Xml for more details):

    player.playByContentXml({
        url : "content.xml"
    });