Black Screen Shown Instead of Video During Playback

by BlackBerry Development Advisor on ‎05-30-2012 01:09 PM (5,208 Views)

Summary

 

This article applies to the following:

  • BlackBerry® smartphones based on Java® technology

Description

 

When attempting to play video using the Player class, a black screen is shown instead of the video.

 

Cause

 

If you do not call VideoControl.setVisible(boolean visible), passing in a value of true prior to starting playback your video may not be shown.  Some versions of BlackBerry® Device Software contain an issue that allowed video playback to be shown without doing this.

 

Resolution

 

Ensure that you call VideoControl.setVisible(boolean visible), passing in a value of true prior to starting playback of video to ensure the video is shown on all versions of BlackBerry Device Software.