XMTVPlayerPlayUri with Banner ads

/**
* @param Title – Media Name
* @param uri – path/url to media
*/
public void XMTVPlayerPlayUri(String Title,String uri){
// [String] adszone – get zone id after filling form.
// [Integer] adstime – how long ad will stay before user will able to close it, value is in seconds.

Bundle bnd = new Bundle();
bnd.putString(“path”, uri);
bnd.putString(“name”, Title);
bnd.putString(“adszone”, “15E56089-CB15-4AA7-8D1B-574E899DE009″); // change adszone with your own id.
bnd.putInt(“adstime”,30);
Intent intent = new Intent();
intent.setClassName(“com.xmtvplayer.watch.live.streams”,”org.zeipel.videoplayer.XMTVPlayer”);
intent.putExtras(bnd);
startActivityForResult(intent, 100);
}

IPTV | Smart TV | Mobile Theatre Software | Media Player for Android(tm)