So the problem is to check if video can't be played in my player in my app. There can be many reasons for it. For now I have 3 methods how I can check some cases using YouTube Data API:
- Make request if results 0 so the video have problem
- Make request and check if there is array named "block" or "allow" so I can check case with country block
- Make request and check if there field for age restriction.
But this is not all cases for video. May someone know more methods how I can check ability for being played for a video?
question from:https://stackoverflow.com/questions/65946411/how-to-check-if-video-have-any-reason-to-not-being-played-in-my-app