I want to play embedded youtube videos in an iOS app, using the YTPlayerView provided at https://developers.google.com/youtube/v3/guides/ios_youtube_helper
Testing my code with the following video for example, https://youtu.be/jBm7O1XCYiE, I end up with the following: ** on XCode simulator: Youtube video plays as expected ** on real device (iPad mini): I receive the message "This video is restricted. Try to sign in with a Google Apps account."
Any suggestions what I should do to overcome this message on the real device?
The weirdest thing is, very rarely, YouTube lets me watch the video on the real device as well, the same video which I normally keep receiving the above error message (eventhough I do not change any codes or settings meanwhile)