class VideoAsset implements Asset

Video asset.

Methods

__construct(string $url, string|null $mimeType = null, string|null $file = null, int|null $width = null, int|null $height = null, float|null $duration = null, string|null $poster = null, bool $autoPlay = false)

No description

string
__toString()

Allows direct echoing of the object to get the URL.

Details

at line 13
__construct(string $url, string|null $mimeType = null, string|null $file = null, int|null $width = null, int|null $height = null, float|null $duration = null, string|null $poster = null, bool $autoPlay = false)

No description

Parameters

string $url
string|null $mimeType
string|null $file
int|null $width
int|null $height
float|null $duration
string|null $poster
bool $autoPlay

at line 28
string __toString()

Allows direct echoing of the object to get the URL.

Return Value

string