You are here

function video_transcoder_postback_jobs in Video 7.2

Menu callback for postback/jobs

1 string reference to 'video_transcoder_postback_jobs'
video_menu in ./video.module
Implements hook_menu().

File

./video.pages.inc, line 11
This file stores all menu callbacks for the Video module

Code

function video_transcoder_postback_jobs() {

  // Postback setting test
  if (isset($_GET['test'])) {
    echo variable_get('video_postback_test');
    exit;
  }
  $transcoder = new Transcoder();
  if ($transcoder
    ->hasTranscoder()) {
    return $transcoder
      ->getTranscoder()
      ->processPostback();
  }
  return MENU_NOT_FOUND;
}