You are here

public function video_preset::__construct in Video 6.4

Same name and namespace in other branches
  1. 6.5 video.lib.inc \video_preset::__construct()
  2. 7 includes/preset.inc \video_preset::__construct()

File

includes/preset.inc, line 10

Class

video_preset

Code

public function __construct($preset = null) {
  $this->presets = $preset;
  if (empty($presets)) {
    $this->presets = variable_get('vid_preset', array(
      'hq_flash',
    ));
  }
}