5 Replies Latest reply: Jun 3, 2011 4:16 AM by 865692 RSS

    MHP Video on Demand?

      I have a TeleSystem TS7900HD STB with the Broadband Addendum.
      I reliazed a JMF player and it works.
      But I can't resize the video. All the usual jmf control are Null.
      Any answer will be appreciated.

      this is the code:

      acontroll = (AWTVideoSizeControl)player.getControl("javax.tv.media.AWTVideoSizeControl");
      Rectangle rectangleNew = new Rectangle(400, 143, 260, 230);

      Rectangle rectangle1 = new Rectangle(0,0,720,576);
      newVideo = new AWTVideoSize(rectangle1, rectangleNew);
      acontroll.setSize(newVideo); //<-----NullpointerException