So I currently have a UIWebView that contains video player controls such as Play/Pause/Volume/ect and an AVPlayer instance that is a subLayer of the view. Currently, the video overlaps the player ui which is fine currently because the video is smaller than the controls so they dont overlap.
However, I am trying to add a fullscreen mode, and an extended display mode.
My question is, how would I add the AVPlayer inside the UIWebView without overlapping the controls, so that I can set the video to fullscreen but also overlay the controls over the video when needed?
Any help/direction would be appreciated.
Thanks