Page tree
Skip to end of metadata
Go to start of metadata

Parameters

Name

Type

Value

Required

Comment

id

Integer


YesSystem ID of asset
timeString
No

Default 60 seconds OR 10-20% of video if it's shorter than 5 minutes

Time in video to take thumbnail from.

Format 00:00:00.000 (Hours:Minutes:Seconds.Milliseconds) OR 0000.000 (Seconds.Milliseconds)

placeholderInteger0 | 1NoDefaults to 0. If 1 then will set the same image also as placeholder

Example

$data = array('object' => 'media', 'action' => 'generatethumbnail', 'parameters'=> array(
        'id' => 123,
        'time' => '50.321',
        'placeholder' => 1
    )
);

Response

Response Fields

Type

Sample Value

Comment

statusCodeInteger00 - Success
statusMessageString"Generate scheduled"Error or confirmation message
  • No labels