public static function video_utility::getMediaExtensions in Video 7.2
Return the list of known video/audio extensions.
1 call to video_utility::getMediaExtensions()
- video_field_widget_form in ./
video.field.inc  - Implements hook_field_widget_form().
 
File
- ./
video.utility.inc, line 233  - This file will be used to keep all utility functions data structures.
 
Class
- video_utility
 - Helper functions for the Video module.
 
Code
public static function getMediaExtensions() {
  $supported_extensions = array_keys(self::getVideoExtensionPlayers());
  // Add other extensions that don't get a separate player but are recognized as playable anyway.
  return array_merge($supported_extensions, array(
    'oga',
    'wma',
    'flac',
    'wav',
    'ts',
    'mxf',
  ));
}