6

I want to display video in landscape or portrait mode when user click on custom rotation button. I am using following code.

Video view is rotate but not showing video.

example: https://play.google.com/store/apps/details?id=com.mycall.videorotate

java code:

     videoView.setRotation(90f);
     videoView.setVideoURI(videoUri);
     videoView.start();

I read so many tutorial form google and read stack over flow answers but not getting answers.

Please help.

Hemantvc
  • 2,111
  • 3
  • 30
  • 42

0 Answers0