Reply To: Parse secure RTMP urls to XMTV

About XMTV Player Forums Development Parse secure RTMP urls to XMTV Reply To: Parse secure RTMP urls to XMTV

#943

support
Keymaster

You can add this method to your code and ivoke it with url and title.
XMTVPlayerPlayUri(“Your video title”,”Your rtmp:// video link”);

/**
* @param Title – Media Name
* @param uri – path/url to media
*/
public void XMTVPlayerPlayUri(String Title,String uri){
Bundle bnd = new Bundle();
bnd.putString(“path”, uri);
bnd.putString(“name”, Title);
bnd.putBoolean(“HiddenMode”, true); // Hide Share & Favorite button from player
bnd.putBoolean(“NoExitPrompt”, true); // Exit from player with one click of back button
bnd.putBoolean(“HideBufferLine”, true); // Hide yellow buffer status line
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)