Revision as of 11:28, 25 February 2009 by Forum Nokia KB (Talk | contribs)

Rotation of video playback window in Nokia 5800 XpressMusic (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search


Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Platform(s): S60 5th Edition
S60 5th Edition
Keywords: CVideoPlayerUtility, SetRotationL
Created: (25 Feb 2009)
Last edited: Forum Nokia KB (25 Feb 2009)


Calling the SetRotationL() method of the CVideoPlayerUtility may result in blank video output (black screen) in the Nokia 5800 XpressMusic.

Detailed description

Depending on the resolution and aspect ratio of the video playback window, an attempt to set the video rotation with

void CVideoPlayerUtility::SetRotationL( TVideoRotation aRotation );

may cause a loss of video, with blank output being shown instead. The audio track will continue to play normally.

For example, a full-screen video playback in landscape mode (EVideoRotationClockwise90) fails in the Nokia 5800 XpressMusic when the above method is used.


Avoid using CVideoPlayerUtility::SetRotationL() to control the orientation of video playback window. Instead, set the orientation of the entire player application with the SetOrientationL function from CAknAppUi. For video playback in landscape (90° clockwise rotation), use:

void CAknAppUi::SetOrientationL( EAppUiOrientationLandscape );

54 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.