I'm currently developing an iOS app that displays my YouTube videos, I am a YouTube partner and video ads show up when I play my videos inside my browser. However while using the official iOS YouTube Player it doesn't show any kind of video ads whatsoever, does anyone know how to display video ads or get this fixed?
The YouTube Player Library I'm using https://github.com/youtube/youtube-ios-player-helper
Here are the parameters I'm using
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 just starts playing the video and doesn't play any video ad before the video starts
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…