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.