function _video_transcoder_types in Video 6.3
@staticvar <type> $transcoders
Return value
<type> get installed types of video
1 call to _video_transcoder_types()
- video_admin_settings in ./
video.admin.inc - Settings Form
File
- ./
video.admin.inc, line 297 - Provides the administration settings for the Flowplayer Drupal module.
Code
function _video_transcoder_types() {
static $transcoders;
if (!isset($transcoders)) {
$transcoders = array();
$path = drupal_get_path('module', 'video') . '/plugins';
$files = file_scan_directory($path, '^.*\\.inc$');
foreach ($files as $filename => $file) {
include_once $filename;
$transcoders[$file->name] = $file->name;
}
}
return $transcoders;
}