Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I find auto-rotate really annoying so I generally have it turned off.

Unfortunately, when I'm playing a youtube video, it's equally annoying when I try to tilt the screen and then remember I have it turned off :)

I would like a way to have auto-rotate working as usual when a youtube video is playing, otherwise disabled.

Is that possible? I would like it all handled automatically, I'm not really interested in apps or widgets where I have to toggle a setting manually. Thanks!

p.s.: My phone is a galaxy nexus.

share|improve this question
    
I don't know what ROM you're using but YouTube actually ignores my auto-rotate setting regardless of it being on or off. YouTube still goes to landscape mode when I tilt my phone whilst watching a video even if I have auto-rotate set to off. –  Propeller Nov 27 '12 at 4:00

2 Answers 2

up vote 3 down vote accepted

There isn't a system setting, so the app Smart Rotator is probably the closest thing you can get, but yes, in the beginning, you have to set everything up yourself.

share|improve this answer
    
This looks promising, I'll give it a shot... –  wim Nov 27 '12 at 0:31
    
Works fine, thanks. –  wim Nov 28 '12 at 23:53

Alternatively, my default recommendation for cases like this: Tasker. Use a profile like this (abstract):

Condition: App (select "Youtube", and optionally other apps you would like to have autorotate turned on)

Task: Display->Display Rotation: Set On

This way, whenever one of the selected apps runs in foreground, autorotate is turned on -- and as soon as that condition is no longer met, autorotate is turned to whatever it was set to before. To make sure to have it turned off afterwards, you can add a so called "exit task":

Exit: Display->Display Rotation: Set Off

Hm, looks like currently I answer every 2nd question with "Tasker"...

share|improve this answer
    
Tasker is certainly a Swiss Army knife. It's well worth using. –  Scott Severance Nov 28 '12 at 9:16
    
You don't actually need the exit action, as Tasker restores settings (like display rotation) when the condition stops being true. Every once and a while it gets left on (e.g., if the phone dies with YouTube open), you can fix that with a task to disable on screen on. –  derobert Nov 30 '12 at 11:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.