trait TimelineQualifierTrait

Trait TimelineQualifierTrait

Methods

startOffset(mixed $startOffset)

Sets the starting position of the part of the video to keep when trimming videos.

endOffset(mixed $endOffset)

Sets the end position of the part of the video to keep when trimming videos.

duration(mixed $duration)

Sets the duration of the video to keep.

Details

static StartOffset startOffset(mixed $startOffset)

Sets the starting position of the part of the video to keep when trimming videos.

Parameters

Name Type Description
$startOffset mixed The starting position of the part of the video to keep. This can be specified as a float representing the time in seconds or a string representing the percentage of the video length (for example, "30%" or "30p").

Return Value

StartOffset

static EndOffset endOffset(mixed $endOffset)

Sets the end position of the part of the video to keep when trimming videos.

Parameters

Name Type Description
$endOffset mixed The end position of the part of the video to keep. This can be specified as a float representing the time in seconds or a string representing the percentage of the video length (for example, "30%" or "30p").

Return Value

EndOffset

static Duration duration(mixed $duration)

Sets the duration of the video to keep.

Parameters

Name Type Description
$duration mixed The length of the part of the video to keep. This can be specified as a float representing the time in seconds or a string representing the percentage of the video length (for example, "30%" or "30p").

Return Value

Duration