# Play Inline

Use the play API to specify content url directly on the page.

## How To

Common data types for `play`:

- String - content `url` as a string
- Object - containing the content `url` along with other optional data

### String

Ideal for playing content that doesn't need any extra data, such as clips (see example):

    player.play('//httpstream.ngtv.io/test/content/mp4/adultswim.mp4');

### Object

The vast majority of play-inline cases will use an `object` (see examples):

    player.play({
        url    : '//adultswimhls-i.akamaihd.net/hls/live/238460/adultswim/main/1/master.m3u8',
        isLive : true
    });