trait VideoTagDeliveryTypeTrait

Trait VideoTagDeliveryTypeTrait

Methods

upload(string|mixed $publicId, Configuration|string|array|null $configuration = null)

Creates the video tag of the uploaded video.

fetch(string $url, Configuration|string|array|null $configuration = null)

Creates the video tag of the fetched (remote) video URL.

Details

static VideoTagDeliveryTypeTrait upload(string|mixed $publicId, Configuration|string|array|null $configuration = null)

Creates the video tag of the uploaded video.

Parameters

Name Type Description
$publicId string|mixed The public ID of the asset.
$configuration Configuration|string|array|null The Configuration source.

Return Value

VideoTagDeliveryTypeTrait

static VideoTagDeliveryTypeTrait fetch(string $url, Configuration|string|array|null $configuration = null)

Creates the video tag of the fetched (remote) video URL.

Parameters

Name Type Description
$url string The URL of the remote video.
$configuration Configuration|string|array|null The Configuration source.

Return Value

VideoTagDeliveryTypeTrait