Reputation: 67
I have an application that streams videos from my server. The thing is I don't get enough out of the ads displayed on the app as the time spent in my app is very less compared to the time spent while watching videos. So, I was thinking of integrating my own custom video player to the app I made and display banner ads in it while the video is streaming.
How can this be done?
Thanks
Upvotes: 1
Views: 5254
Reputation: 27659
1- You need to use the MediaPlayer class like its used here.
2- Use the Google AdMob Ads SDK, example is here.
Upvotes: 1