Dezze
Dezze

Reputation: 67

Android Custom Video Player

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

Answers (1)

Yaqub Ahmad
Yaqub Ahmad

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

Related Questions