Methods
-
ngOnInit()
-
Description
On init creates a new HTMLVideoLayer instance and initializes with ref to video element, user generated cloudinaryVideo and the plugins to be used.
Details
-
ngOnChanges()
-
Description
On update, we cancel running plugins and update the video instance if the src was changed.
Details
-
ngOnDestroy()
-
Description
On destroy, we cancel the currently running plugins.
Details
-
getVideoAttributes()
-
Description
Returns video attributes.
Details
-
attachRef()
-
Description
Attach both this.videoRef and props.innerRef as ref to the given element.
Details