> For the complete documentation index, see [llms.txt](https://docs.boldminded.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boldminded.com/reel/docs/settings.md).

# Settings

By default Reel stores it's settings in ExpressionEngine's database, and it is managed via its module settings page. You can also manage it's settings by adding a new array to your site's `config.php` file. You can add as many or as few of the following array keys as you like to the `config.php` file. For example, if you are not using Vimeo, you do not need to add the `settings_vimeo` key and value to the array.

You can't manage some settings in the database, and some settings in the `config.php` file. Either all settings are managed in the `config.php` file, or all settings are managed in the database.

```
$config['reel'] = [
    'settings_global' => [
        'global_width' => '360',
        'global_height' => '240',
    ],
    'settings_youtube' => [
        'user' => '',
        'api_key' => '',
        'show_on_load' => 'n', // 'y' or 'n'
    ],
    'settings_vimeo' => [
        'user' => '',
        'show_on_load' => 'n', // 'y' or 'n'
        'client_id' => '',
        'client_secret' => '',
        'client_token' => '',
    ],
];
```

### Debugging

If you add `&reel_debug=1` to your ExpressionEngine control panel page when editing an entry that contains a Reel field, the Reel modal window will display some extra information about the requests it makes to the YouTube and Vimeo API, the operating state of the Reel field instance, and all the  information from a selected video that willl be saved to the ExpressionEngine database.
