# Nonstop Javascript SDK

## Playing Content Nonstop

In order to play content Nonstop the client app should pass an additional parameter to GAM.

There is one additional parameter:

* **cbp** - An integer set to `0` or `1` - with `1` indicating reduced ad load, and `0` standard ad load

This should be passed to player framework as an initialization parameter which will then handle passing this to GAM as part of its Client-Side Ads implementation.

```javascript
    function setUpAndEmbedPlayer() {
        window.datg.player.Player.setEnvironmentConfig({
            brand: playerSettings.brandId,
            device: playerSettings.deviceId,
            environment: playerSettings.environment
        });

        const videoSettings = {
            'cbp': 1
        };

        window.datg.player.Player.embed(playerId, element.find("div")[0], 'lfp', videoSettings);
    }
```