1

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

Dezze
  • 67
  • 1
  • 8

1 Answers1

1

1- You need to use the MediaPlayer class like its used here.

2- Use the Google AdMob Ads SDK, example is here.

Community
  • 1
  • 1
Yaqub Ahmad
  • 27,569
  • 23
  • 102
  • 149