You are here

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

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

Implements hook_field_formatter_info().

File

./videojs.module, line 59
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(
        'file',
        'media',
        'link_field',
      ),
      'description' => t('Display a video file as an HTML5-compatible with Flash-fallback video player.'),
      'settings' => array(
        'width' => NULL,
        'height' => NULL,
        'posterimage_field' => NULL,
        'posterimage_style' => NULL,
      ),
    ),
  );
}