Sign up ×
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.

This question already has an answer here:

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.

P.S. My phone is a Galaxy Nexus.

share|improve this question

marked as duplicate by Firelord, Izzy, bmdixon, onik Sep 21 at 22:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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
Yup, derobert's comment is correct. I just tried it before reading this answer, and I didn't have to add exit task to toggle the auto-rotation back. –  Andrew T. Mar 16 at 3:28
@AndrewT. not necessarily, no. By default, Tasker automatically reverts to the previous state. So without the Exit-Task, if auto-rotation already was on, it would not be turned off afterwards. If that's what you want, ommit the Exit-Task. If you however definitely want it turned-off afterwards, no matter what: then you will need the Exit-Task. –  Izzy Mar 16 at 12:24

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