I am trying to develop an app using Android's YouTube API.and wanna get the resolution information when quality of a video changes automatically, but I haven't found the interface in YouTube Player API.
Please let me know if there is any other way to refer to the Youtube API or anything else.
You can get the resolution of a video by using the
contentDetailsas apartparameter in theVideos: list.You can see in the
definitionpart under thecontentDetailsthe resolution of a video, but the value for it is either a high definition(hd) or standard definition(sd). You cannot get the video resolution as 360p, 720p etc. But the 720p and 1080p is considered as HD.