You are here

public static function video_utility::getDimensions in Video 7.2

7 calls to video_utility::getDimensions()
TranscoderAbstractionFactoryZencoder::adminSettings in transcoders/TranscoderAbstractionFactoryZencoder.inc
Admin settings form for the transcoder
video_field_formatter_settings_form in ./video.field.inc
Implements hook_field_formatter_settings_form().
video_field_instance_settings_form in ./video.field.inc
Implements hook_field_instance_settings_form().
video_field_widget_process in ./video.field.inc
An element #process callback for the video field type.
video_field_widget_value in ./video.field.inc
The #value_callback for the video field element.

... See full list

File

./video.utility.inc, line 215
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 getDimensions() {
  $dims = explode("\n", str_replace("\r", '', variable_get('video_dimensions', self::getDefaultDimensions())));
  $dims = array_filter($dims);
  return array_combine($dims, $dims);
}