Documentation

VideoStreamPlayer extends Component
in package

Table of Contents

$attrs  : string
The attributes for the video tag.
$id  : string
$options  : array<string|int, mixed>|null
$posterUrl  : string|null
$url  : string|null
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new component instance.

public __construct(string $id[, string|null $url = null ][, string|null $posterUrl = null ][, array<string|int, mixed>|null $options = null ]) : mixed
Parameters
$id : string
  • the id of the video element
$url : string|null = null
  • the url of the video
$posterUrl : string|null = null
  • the poster url of the video
$options : array<string|int, mixed>|null = null
  • the options for the video tag
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results