Configuration

Videos supports several configuration settings. You can override their values in your config/videos.php file.

cacheDuration

The amount of time cache should last.

See http://www.php.net/manual/en/dateinterval.construct.php

'cacheDuration' => 'PT15M',

enableCache

Whether request to APIs should be cached or not.

'enableCache' => true,

oauthProviderOptions

OAuth provider options.

'oauthProviderOptions' => [
    'youtube' => [
        'clientId' => '000000000000-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com',
        'clientSecret' => 'xxxxxxxxxxxxxxxxxxxxxxxx'
    ],

    'vimeo' => [
        'clientId' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
        'clientSecret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    ],
]

videosPerPage

Number of videos per page in the explorer.

'videosPerPage' => 30