# TVE

Set up TV Everywhere experience.

By default `TOP` will automatically enable TVE when the proper experience is configured (see examples)

## How To

TVE configuration can be simple or detailed:

### Simple

TVE can be turned on/off by simply setting a `Boolean`:

    var player = TOP.createAndInitPlayer({
        config : {
            features : {
                tve : true // Enables tv everywhere using default config values
            }
        }
    });

### Detailed

To specify more configuration information, set a TVEFeatureData object:

    var player = TOP.createAndInitPlayer({
        config : {
            features : {
                tve : {
                    enabled      : true, // Enables tve
                    type         : 'c4', // Specify that c4 ads will be used
                    trapDuration : 60,   // User seeks within 60 sec after ad marker, play ad
                    c4           : {...} // Optional C4 configuration
                }
            }
        }
    });