public static function video_utility::getDefaultDimensions in Video 7.2
Provide a default list of dimensions until a user saves a custom list in admin/config/media/video.
See also
http://drupal.org/node/1761800#comment-6502420
3 calls to video_utility::getDefaultDimensions()
- VideoUtilityTestCase::testValidateDimensionList in tests/
VideoUtility.test - video_general_admin_settings in modules/
video_ui/ video.admin.inc - Video general admin settings
- video_utility::getDimensions in ./
video.utility.inc
File
- ./
video.utility.inc, line 226 - 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 getDefaultDimensions() {
return "320x180\n320x240\n384x216\n384x288\n400x225\n400x300\n432x243\n432x324\n480x200\n480x270\n480x360\n512x288\n560x315\n560x420\n640x360\n640x480\n648x486\n720x405\n720x480\n720x486\n720x540\n720x576\n768x576\n852x480\n864x486\n960x400\n960x540\n960x720\n1024x576\n1280x720\n1280x960\n1280x1080\n1440x1080\n1920x800\n1920x1080";
}