koti
koti

Reputation: 3701

Increasing video height and width in Blackberry player screen

I am playing video in Blackberry,it plays well but i need to show the video in full screen mode.Now it plays video with spaces at top and bottom i have to play in full screen

For this i used methods

videoControl.setDisplayFullScreen(true);
_videoControl.setDisplaySize(Display.getWidth(),Display.getHeight());

But those are not working how can i solve this.

Upvotes: 0

Views: 395

Answers (1)

jprofitt
jprofitt

Reputation: 10964

The video player can be incredibly fickle when it comes to what sizes it will display. From my testing, it seems that you have to hit one of the magic ratios (half size seemed to work pretty reliably) or it just won't show anything.

Rather than setting the size that would equal fullscreen as well as telling it to be fullscreen, you should probably use VideoControl.setDisplayFullScreen() without the setDisplaySize()

I have an answer about camera programming that might help Black berry camera programming

Upvotes: 1

Related Questions