I am developing android application using youtube api, my application contain viewPager with 4 pages. each page contain fragments and each fragment contain two fragment; the first one is recyclerView of videos and second one is Video player appeared when onClick on any item in recyclerView.
but the following problem appeared when Viewing the video on VideoPlayer: "YouTube video playback stopped due to unauthorized overlay on top of player, The YouTubePlayerView is not contained inside its ancestor viewPager"
any one can help to overcome this issue.
Thanks