[ 'name' => tr('Vimeo upload'), 'description' => tr('Enables video upload to the Vimeo service. API keys are required and approval must be granted by Vimeo for the upload API.'), 'help' => 'Vimeo', 'dependencies' => ['feature_file_galleries', 'fgal_upload_from_source'], 'type' => 'flag', 'default' => 'n', ], 'vimeo_delete' => [ 'name' => tr('Vimeo delete'), 'description' => tr('Causes videos uploaded to the Vimeo service via Tiki file galleries to be deleted when the Tiki file is deleted.'), 'help' => 'Vimeo', 'dependencies' => ['vimeo_upload'], 'type' => 'flag', 'default' => 'n', 'warning' => tra('Permanently removes videos from the registered vimeo.com account.'), ], 'vimeo_consumer_key' => [ 'name' => tr('Vimeo consumer key'), 'description' => tr('API consumer key'), 'type' => 'text', 'size' => 40, 'filter' => 'word', 'default' => '', ], 'vimeo_consumer_secret' => [ 'name' => tr('Vimeo consumer secret'), 'description' => tr('API consumer secret'), 'type' => 'text', 'size' => 40, 'filter' => 'word', 'default' => '', ], 'vimeo_access_token' => [ 'name' => tr('Vimeo access token'), 'description' => tr('The access token that is automatically generated by Vimeo when API keys are requested.'), 'help' => 'Vimeo', 'type' => 'text', 'size' => 40, 'filter' => 'word', 'default' => '', ], 'vimeo_access_token_secret' => [ 'name' => tr('Vimeo access token secret'), 'description' => tr('The access token secret automatically generated by Vimeo when API keys are requested'), 'help' => 'Vimeo', 'type' => 'text', 'size' => 40, 'filter' => 'word', 'default' => '', ], 'vimeo_default_gallery' => [ 'name' => tr('Vimeo Default Gallery'), 'description' => tr('The The ID of the default file gallery in which to store the Vimeo reference'), 'help' => 'Vimeo', 'type' => 'text', 'filter' => 'int', 'default' => 1, 'size' => 5, 'profile_reference' => 'file_gallery', ], ]; }