Reputation: 685
When embedding YouTube videos using the YouTube IFrame API, some users see a black screen with the following message instead of the video:
"Sign in to confirm you're not a bot. This helps protect our community."
This completely blocks video playback and makes the embedded player unusable.
I am using YouTubePlayerKit on iOS (GitHub repo) to embed YouTube videos via the IFrame API. The issue occurs even for users who are not using a VPN. The problem seems random, affecting some users more frequently than others.
Is there a way to bypass this bot verification prompt when using the YouTube IFrame API? Are there any recommended API settings to avoid triggering YouTube's bot protection? Has anyone found a workaround to ensure embedded videos play without requiring a Google sign-in?
Upvotes: -2
Views: 142