You are here

function zencoderapi_libraries_info in Video 7.2

Implements hook_libraries_info().

File

modules/zencoderapi/zencoderapi.module, line 10
Libraries hooks for the Zencoder API module.

Code

function zencoderapi_libraries_info() {
  $libraries = array();
  $libraries['zencoder'] = array(
    'name' => 'Zencoder',
    'vendor url' => 'http://zencoder.com',
    'download url' => 'https://github.com/zencoder/zencoder-php/tags',
    'version arguments' => array(
      'file' => 'Services/Zencoder.php',
      'pattern' => '/Release: ([\\d.]+)/i',
      'lines' => 10,
      'cols' => 50,
    ),
    'versions' => array(
      '2' => array(
        'files' => array(
          'php' => array(
            'Services/Zencoder.php',
          ),
        ),
      ),
    ),
  );
  return $libraries;
}