trait VideoSourceTrait

Trait VideoSourceTrait

Methods

video(string $videoId = null)

Adds another video layer.

subtitles(string $subtitlesId = null)

Adds subtitles to a video.

Details

static VideoSourceTrait|VideoSource video(string $videoId = null)

Adds another video layer.

Parameters

Name Type Description
$videoId string The public ID of the new video layer.

Return Value

VideoSourceTrait|VideoSource

static VideoSourceTrait|SubtitlesSource subtitles(string $subtitlesId = null)

Adds subtitles to a video.

Parameters

Name Type Description
$subtitlesId string The public ID of the subtitles file.

Return Value

VideoSourceTrait|SubtitlesSource