Devise
Class

Devise\Encoding\ZencoderJob

class ZencoderJob

Methods

__construct($apiKey, $notifications, FileDownloader $FileDownloader)

Create a new ZencoderJob

Job create(string $filePath, array $settings)

Create a new job with this file path and settings

void handle($output, $storagePath)

Fire events when you see this job has been called back

Details

at line 21
public __construct($apiKey, $notifications, FileDownloader $FileDownloader)

Create a new ZencoderJob

Parameters

$apiKey
$notifications
FileDownloader $FileDownloader

at line 40
public Job create(string $filePath, array $settings)

Create a new job with this file path and settings

For an idea of different output settings see api docs at https://app.zencoder.com/docs/api/encoding

Parameters

string $filePath path to the video file you want to encode
array $settings custom settings

Return Value

Job

Exceptions

Services_Zencoder_Exception use $e->getErrors()

at line 62
public void handle($output, $storagePath)

Fire events when you see this job has been called back

Parameters

$output
$storagePath

Return Value

void