I am currently developing an iOS application that displays my videos on YouTube, I am a YouTube partner, and video ads appear when I play my videos in my browser. However, when using the official iOS YouTube Player, it doesnβt show any video ads, does anyone know how to show video ads or fix it?
YouTube Player Library I use https://github.com/youtube/youtube-ios-player-helper
Here are the options I use
NSDictionary *playerVars = @{ @"controls" : @1, @"playsinline" : @1, @"autohide" : @0, @"showinfo" : @0, @"autoplay" : @1, @"fs" : @0, @"rel" : @0, @"loop" : @1, @"enablejsapi" : @1, @"modestbranding" : @1 };
As you can see in this image, it simply starts playing the video and does not play the video ad before the video

ios objective-c youtube youtube-api ytplayerview
Jessica
source share