OTVContainerView
A container view that creates an AVPlayerLayer
and subtitle view,
managing the interactions with OTVAVPlayer
for easy integration.
Optionally custom overlays can be added on top of the video/subtitle content
through the ‘customOverlayView’ property. These views will sit below any optionally
bound OTVWatermark
.
Any subviews added in storyboard or interface builder will be automatically moved onto the customOverlayView. Note that this process recreates any auto layout constraints so any constraints connected to an IBOutlet will be lost.
-
A
UIView
onto which custom overlays can be added such that they will appear above the video content and subtitles but below the optionalOTVWatermark
, which can be added viabindWatermark
. -
The
AVPlayerLayer
instance used for rendering video content. -
The
OTVAVPlayer
that will be playing video content that should be rendered into thisOTVContainerView
. -
This function has no effect. Instead you should add your views to the customOverlayView property
-
This function has no effect. Instead you should add your views to the customOverlayView property
-
This function has no effect. Instead you should add your views to the customOverlayView property
-
This function has no effect. Instead you should add your views to the customOverlayView property
-
This function has no effect. Reordering of views is not permitted, you may want to make use of the customOverlayView property
-
This function has no effect. Reordering of views is not permitted, you may want to make use of the customOverlayView property
-
This function has no effect. Reordering of views is not permitted, you may want to make use of the customOverlayView property
-
Binds the
OTVWatermark
on top of the other views in the container -
Binds the
OTVWatermark
on top of the other views in the container -
Unbinds a previously bound `OTVWatermark’, removing it from the view stack.
-
Unbinds a previously bound `OTVWatermark’, removing it from the view stack.