Xmtv player, monetization not work

About XMTV Player Forums Help and Support Xmtv player, monetization not work

This topic contains 4 replies, has 2 voices, and was last updated by  diaconuliviu85 1 year, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1325

    diaconuliviu85
    Participant

    Hi all
    I tried to change a little from the main code xmtv offered web player. but does not go as I’d like. In principle not open video ads. or if open not appear in the page as seen, not numbered in my account.

    private void canalda2buton() {
    Button accionentrar = (Button) findViewById(R.id.bCanalD2);
    accionentrar.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {

    Intent intent = new Intent();

    intent.setComponent(new ComponentName(“com.xmtvplayer.watch.live.streams”,”org.zeipel.videoplayer.XMTVPlayer”));
    PackageManager pm = getPackageManager();
    List<ResolveInfo> activities = pm.queryIntentActivities(intent, 0);
    if (activities != null && activities.size() > 0) {

    Bundle bnd = new Bundle();
    bnd.putBoolean(“NoExitPrompt”, true); // Exit from player with one click of back button

    bnd.putString(“adszone”, “adqnq3hq-14zlpp44-vuutd”); // change adszone with your own id.
    bnd.putInt(“adstime”, 30);

    Intent i = new Intent();
    i.setPackage(“com.xmtvplayer.watch.live.streams”);
    i.setDataAndType(Uri.parse(“http://80.86.107.169:8100/stream.flv&#8221;), “video/*”);
    i.setClassName(“com.xmtvplayer.watch.live.streams”, “org.zeipel.videoplayer.XMTVPlayer”);
    i.putExtras(bnd);
    startActivityForResult(i, 100);

    }
    else {

    final Toast tag = Toast.makeText(getBaseContext(), “Te rog Instaleaza Playerul Necesar pentru a putea vizualiza canalul dorit!”,Toast.LENGTH_SHORT);

    tag.show();

    new CountDownTimer(9000, 1000)
    {

    public void onTick(long millisUntilFinished) {tag.show();}
    public void onFinish() {tag.show();}

    }.start();

    Intent goToMarket = new Intent(Intent.ACTION_VIEW)
    .setData(Uri.parse(“market://details?id=com.xmtvplayer.watch.live.streams”));
    startActivity(goToMarket);

    }

    }
    });
    }

    #1326

    support
    Keymaster

    Hi diaconuliviu85,
    adzone defined from you are id from AdIquity, to start receiving ads, you must fill form defined in section “how to monetize” to receive from us Ad Id which is related to yours. That is required because we are trying to add more ad networks to XMTV Player. Currently I define id for you which is “50CDFE59-47DC-4DBD-B7EE-9BCE6E81C101“. Please change it in your code. Also change way how you pass Video Uri:

    i.setDataAndType(Uri.parse(“http://80.86.107.169:8100/stream.flv”), “video/*”);

    with

    bnd.putString(“path”, uri);
    bnd.putString(“name”, Title);

    #1327

    diaconuliviu85
    Participant

    `Bundle bnd = new Bundle();
    bnd.putString(“path”, “http://80.86.107.169:8100/stream.flv&#8221;);
    bnd.putString(“name”, “Kanal D”);
    bnd.putBoolean(“NoExitPrompt”, true); // Exit from player with one click of back button
    bnd.putString(“adszone”, “50CDFE59-47DC-4DBD-B7EE-9BCE6E81C101″); // change adszone with your own id.
    bnd.putInt(“adstime”, 30);
    Intent i = new Intent(Intent.ACTION_VIEW);
    i.setClassName(“com.xmtvplayer.watch.live.streams”, “org.zeipel.videoplayer.XMTVPlayer”);
    i.putExtras(bnd);
    startActivityForResult(i, 100);`

    Hello
    Thanks so much for your answer.

    So it should work right?

    and how you came to this code “50CDFE59-47DC-4DBD-B7EE-9BCE6E81C101″
    there is a method for calculating the code?

    #1329

    support
    Keymaster

    Yes, now should work. Adzone is genarated from xmtv player side and link your account with AdIQuity. You can track your ad activity on AdIquity site.

    Please could you fill your app data bellow and send it to email.
    Thanks in advance

    ————————————————–
    Package name:
    URL to your app:
    AdIQuitty ID:adqnq3hq-14zlpp44-vuutd
    AdIQuitty registered email:
    —————————————————

    #1330

    diaconuliviu85
    Participant

    Hello

    I sent mail. I hope I can see and respond to. thank you

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

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