VideoOverlay
class VideoOverlay extends BasePositionalSourceContainer
Defines how the video layer is applied.
Learn more: Video overlays
Methods
__construct(BaseSource|string $source = null, BasePosition|null $position = null, Timeline|null $timeline = null)
BaseLayerContainer constructor.
timeline(Timeline $timeline = null)
Sets the timeline position of the overlay.
cutter()
Indicates that the video should be used as a cutter for the main video.
source(BaseSource $source)
Sets the source.
Details
__construct(BaseSource|string $source = null, BasePosition|null $position = null, Timeline|null $timeline = null)
BaseLayerContainer constructor.
BasePositionalSourceContainer
timeline(Timeline $timeline = null)
Sets the timeline position of the overlay.
$this
cutter()
Indicates that the video should be used as a cutter for the main video.
VideoOverlay
source(BaseSource $source)
Sets the source.
VideoOverlay
position(Position $position = null)
Sets the layer position.