You are here

function videojs_field_formatter_info in Video.js (HTML5 Video Player) 6.2

Same name and namespace in other branches
  1. 6 videojs.module \videojs_field_formatter_info()
  2. 7.3 videojs.module \videojs_field_formatter_info()
  3. 7 videojs.module \videojs_field_formatter_info()
  4. 7.2 videojs.module \videojs_field_formatter_info()

Implementation of CCK's hook_field_formatter_info().

File

./videojs.module, line 64
Provides an HTML5-compatible with Flash-fallback video player.

Code

function videojs_field_formatter_info() {
  return array(
    'videojs' => array(
      'label' => t('Video.js : HTML5 Video Player'),
      'field types' => array(
        'filefield',
        'uploadfield',
        'link',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
      'description' => t('Display a video file as an HTML5-compatible with Flash-fallback video player.'),
    ),
  );
}