You are here

public function TranscoderAbstractionFactoryZencoder::__construct in Video 7.2

Overrides TranscoderAbstractionFactory::__construct

File

transcoders/TranscoderAbstractionFactoryZencoder.inc, line 15
File containing class TranscoderAbstractionFactoryZencoder

Class

TranscoderAbstractionFactoryZencoder
Class that handles Zencoder transcoding.

Code

public function __construct() {
  parent::__construct();
  $this->options['api_key'] = variable_get('video_zencoder_api_key');
  $grouping = variable_get('video_zencoder_grouping');
  if (!empty($grouping)) {
    $this->options['grouping'] = $grouping;
  }
  $this->postbackurl = variable_get('video_zencoder_postback', url('postback/jobs', array(
    'absolute' => TRUE,
  )));
  $this->outputdestination = variable_get('video_zencoder_output_destination');
}