# Feature Config

Certain features of `TOP` can be toggled through the features configuration.

Explicit feature configuration is not necessary, unless you want to override a default behavior

## How To

Feature configuration can be simple or detailed:

### Simple

Specifying a feature can be done simply by passing a `Boolean`:

    var player = TOP.createAndInitPlayer({
        config : {
            features : {
                <specific feature> : true // Enables the specified feature using default config values
            }
        }
    });

### Detailed

For more detailed configuration options, passing an `Object` must be done:

    var player = TOP.createAndInitPlayer({
        config : {
            features : {
                <specific feature> : {
                    enabled : true, // When configured this way, 'enabled' is set to true by default
                    ...
                    // Other configuration options specified depending on the feature
                }
            }
        }
    });

See feature options for more on what can be configured