X Player offers Player Monetization by Google Ads.
A simple process can make you revenue, a button in your app - open xPlayer with your Ads.
Ad Impression % | You get 80% |
Ad Network | Google Admob |
Ad Type | Interstitial |
Any hidden % ? | No, 80% is hardCoded in app. |
There is only one step to open your video on xPlayer.
We also support user-Agent, 1 header key and 1 header value.
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("xplayer://play?url=https://content.jwplatform.com/manifests/yp34SRmf.m3u8")); intent.putExtra("userAgent","myAppUserAgentSecret"); intent.putExtra("headerKey","auth"); intent.putExtra("headerValue","authKey0001"); intent.putExtra("admobINT","ca-app-pub-3940256099942544/1033173712"); startActivity(intent);
If your video is public, you can ignore extra intents. The most important line is
'intent.setData(Uri.parse("xplayer://play?url=https://content.jwplatform.com/manifests/yp34SRmf.m3u8"));'
Set your video URL as parameter of url via xPlayer scheme.
'xplayer://play?url='