"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Video player rotation

Hi, i have a problem with the video player. When i load a video i want to rotate it. I use:

Screen.orientation = ScreenOrientation.AutoRotation

 

I think it's fault of the manifest, because in IOS works well.

any ideas?

 

thanks

AlessandroB

Mon, 10/26/2015 - 08:34

I think you may be unable to set the autorotation because Video Playback sample code enforces the orientation to be Portrait in Android;

check the code in the PlayVideo.cs script, and you should find this line:

Screen.orientation = ScreenOrientation.Portrait;