This discussion is archived
5 Replies Latest reply: Jun 3, 2011 2:16 AM by 865692 RSS

MHP Video on Demand?

865692 Newbie
Currently Being Moderated
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);
          
player.start();
acontroll.setSize(newVideo); //<-----NullpointerException