Firstly, I would like to point out that in Android there is a limitation in which having SurfaceViewin ScrollViewdoes not work the way you expected. This is explained here
( VideoViewuses SurfaceViewinternally, therefore has this problem). But for the VideoViewone that worked for me, there is a workaround .
Now I also want to use the new YouTube API for Android to display embedded YouTube videos in our Android application. YouTubePlayerView, which implements the embedded video player, also presents the problem mentioned above because it uses SurfaceView, as shown below in the hierarchy viewer.

. YouTubePlayerView ScrollView (, , ). .