YouTube auto rotate

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
karthikn130
Posts: 7
Joined: 19 Mar 2016 13:54

YouTube auto rotate

Post by karthikn130 » 27 Jan 2018 02:25

This flow turns on auto rotate when YouTube app starts and turns off auto rotate when the app ends. Useful for those use YouTube frequently.
http://automagic4android.com/flow.php?i ... f35f00ba29

jjts
Posts: 4
Joined: 29 Jan 2018 03:25

Re: YouTube auto rotate

Post by jjts » 31 Jan 2018 02:21

I implemented the same thing lol. This is nice though, mine is 2 separate flows, yours is nicely in 1. Curious -- why do you check if YT is running 2 times and then wait 5 seconds though (going down the false branch)?

karthikn130
Posts: 7
Joined: 19 Mar 2016 13:54

Re: YouTube auto rotate

Post by karthikn130 » 31 Jan 2018 03:06

The second if condition is to check weather status bar is pulled down while watching YouTube. If that is true we dont want to stop auto rotate. The second if condition is doing that job.

jjts
Posts: 4
Joined: 29 Jan 2018 03:25

Re: YouTube auto rotate

Post by jjts » 31 Jan 2018 05:24

Ooh, I see. I hadn't found that to be needed, atleast for my phones, though perhaps yours is different. On my current and last phone atleast, when I have YouTube open in landscape and pull down the status bar, it opens in landscape and YouTube stays in landscape.

Anyhow, thanks for the explanation and for sharing your flow!

Post Reply