Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On rotating device, full screen video not working. #1

Open
numair96 opened this issue Sep 10, 2013 · 1 comment
Open

On rotating device, full screen video not working. #1

numair96 opened this issue Sep 10, 2013 · 1 comment

Comments

@numair96
Copy link

Hi,
Your code helped me a lot, but I'm stuck in a problem. I'm working on a project that contains TabsActivity. In Youtube tab, when I play video in full screen and rotate the device, it plays in portrait only. I've tried hiding the Tabs and my top bar too. Still no progress. I've set all my views in portrait mode android:screenOrientation="portrait". If I set my Youtube activity to noSensor, the Tab activity restarts and I switched back to Home tab. I've noticed that while rotating it gives me this warning..

W/MediaPlayer(2324): setScreenOnWhilePlaying(true) is ineffective without a SurfaceHolder

Please give solution for this.

P.S. Auto-rotate screen option is enabled.

@manel00
Copy link

manel00 commented Sep 15, 2015


is this what you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants