PWA with video - how to get good full-screen behaviour? - Android Q&A, Help & Troubleshooting

I'm writing a Progressive Web App, and I'm having trouble with the behaviour of Chrome on Android wrt how videos go into and out of fullscreen mode.
On mobile safari, it all seems to make sense:
1. if not in fullscreen, pressing 'play' turns it fullscreen, in either orientation.
2. there's also a button to make it fullscreen, which does as it says.
3. if you rotate the phone while in any mode, it stays in that mode - fullscreen in portrait switches to fullscreen in landscape, and vice versa...similarly if not in fullscreen. The only notable thing that happens is that a progress bar appears after you rotate the phone.
On Android, however...
1. while not in fullscreen, rotating works ok..it just stays non-fullscreen.
2. pressing play, does not cause it to go fullscreen (unlike on mSafari).
3. if you go fullscreen, in either orientation, then switch orientation, then it drops out of fullscreen mode, and you get all the controls pop up again.
4. if, while in landscape, you have the video non-fullscreen, and tap the fullscreen control, it will go fullscreen, but it also rotates the video to portrait.
I wonder if anyone knows how to make the Android/Chrome behaviour more like the mSafari behaviour. I guess the key things are to stay in fullscreen even if the phone is rotated, and to allow fullscreen landscape.
Any ideas?
Max.
For testing, I'm using iPhone X on 12.3.1, and Pixel 2, Android 9, PIxel 2 Build/PQ3A.190705.001 chrome 75.0.3770.101

Related

Strange screen orientation

When using my Archos 70, I find out that the screen orientation is somehow strange.
1st - I like to use it in portrait. However, I cannot make the screen 'lock' to portrait orientation. The 'lock' feature only supports landscape orientation
2nd - Even in portrait mode, when using some apps, the orientation is inverted (such as z4root). Seems Archos makes the default portrait position to be like 'power button at the bottom and the USB at the top). However..... I think most of you will agree that we all like the power button AT THE TOP.
So, is there a way to fix the orientation (default) to portrait, with power button at the top?
Thanks for your help.
1. Yes lock is Landscape, that has to do with the stand.
2. This has to do with the way android works. Normaly view is stopped and started again with the new orientation by the os. But the developer can tell Android that it handöes this switch itself and then the app is responsible for thee switching.
So there is no way atm to change this.
Whenever I use an application (on my A101) that only works in portrait mode, the power button is always at the top.
So far I have tried with Twonky and z4root.
edit: oh, and I believe some of the launchers available will let you lock screen in portrait mode ... try Launcher Pro or ADW

[Q] Home screen landscape

Does the lte have the ability to view the home screen in landscape mode?
Not by itself. If you use an MHL adapter or the Media Link, it goes landscape, but thats it.
1) Download "rotation locker" from the Play Store
2) Open the app, when the popup menu appears HOLD DOWN on Auto
3) The app will vanish and should remain running in the background (see your notification?)
4) Landscape Rosie!
Be sure to disable for camera as it makes it a weird rotation! Mileage will vary on other apps.

Camera App opens in Landscape Mode automatically

This is a minor annoyance but sometimes I just want to open my camera app and browse photos while my phone is laying on my desk, but when I open the camera app it automatically goes landscape mode and I have to pick the phone up to get it back to portrait. Any body know of a way to cancel this auto-landscape feature in the camera app?
Edit: Just realized I could just go to the "photos" app directly and bypass the camera. This opens in portrait. But also adds another icon to my homescreen. I'd like to just use the camera icon for all of this, so still would like to hear any ideas anyone has
In settings > display and gestures do you have Auto rotation checked?
Mine opens in portrait.

How to view (and lock) a website in landscape mode with no address bar?

I built an html-based seating chart app for use in my classroom. I need to view the seating chart in fullscreen landscape mode for the duration of the class. I've been using Chrome on Android and I have some problems. The first is that the address bar takes up too much screen real estate, and it seems the only way to make it go away is to scroll down the page. So I added some space on the page above the seating chart and put a jump link at the top of the page. But still, when my screen turns off and I turn it back on, it automatically rotates into portrait mode and jumps back to the top of the page. Any ideas for a good solution? I have control of both the web html and my phone, so there should be lots of options. Maybe a browser on Android with a fullscreen option?

Question Buggy gesture navigation on rotated full screen apps

Anyone else having trouble with gesture navigation when using full screen apps?
Sometimes when I start a video on YouTube in full screen mode, switch temporarily to a messaging app and then come back to the video, the gesture navigation is all messed up. Lower part (short side of the phone) of the screen doesn't register touch so I can't get out of full screen in YouTube and the thin white bar is not where it should be on the longer side (which is now supposed to be the bottom), but instead it is on the short side which should also be my "back" gesture now.
This is very annoying as trying to swipe 'back' now gets me to the home screen and I am unable to hit three dots or the full screen button in YouTube.
I am not using auto-rotate, but I am using Sony Side sense and obviously gestures to navigate. Rotating the phone 180 degrees and back seems to fix it. It's like the phone forgets how it should be oriented when I switch between an app that is in portrait mode and landscape mode
Anyone else out there with these kind of issues or am I alone with this?
I've also experienced this and have found no fix. If I go to recent apps and re-enter the app from there a couple times, it fixes itself but that's all I've found.

Categories

Resources