I am using youtube API to show video list and play that video. All was working fine with v2 but as now it's deprecated I have updated it with v3.
I am getting youtube play list successfully but when I play with that videoId provided in API it fails and showing me error as below.
Also it plays fine in browser safari as well as in mozila.
Video URL VideoLink
**Error**
Error Domain=YouTubeVideoErrorDomain Code=2 "Invalid parameters." UserInfo=0x7f877064c610
{NSURL=https://www.youtube.com/get_video_info?el=detailpage&hl=en&ps=default&video_id=https%3A%2F%2F
www.youtube.com%2Fwatch%3Fv%3DRgKAFK5djSk%26feature%3Dyoutube_gdata, NSLocalizedDescription=Invalid parameters.}