You are here

property ZencoderCURL::$options in Video 7

File

modules/video_zencoder/includes/Zencoder.php, line 178

Class

ZencoderCURL

Code

var $options = array(
  CURLOPT_RETURNTRANSFER => 1,
  // Return content of the url
  CURLOPT_HEADER => 0,
  // Don't return the header in result
  CURLOPT_HTTPHEADER => array(
    "Content-Type: application/json",
    "Accept: application/json",
  ),
  CURLOPT_CONNECTTIMEOUT => 0,
  // Time in seconds to timeout send request. 0 is no timeout.
  CURLOPT_FOLLOWLOCATION => 1,
);