I am currently working on developing a PWA app using the Vue framework that supports camera functionality on both Android and Apple devices.
Using mediaDevices, I have successfully enabled the camera and implemented a video stream feature on Android. Additionally, I have added a button above the video for users to click and capture photos.
However, I encountered an issue on iPhone where the camera's video display takes up the full screen, covering other widgets including the button. By manually resizing the video with two fingers, I can access the button and save pictures.
Could there be a specific setting or parameter I overlooked for iPhone? It seems that by default, the camera feed displays on top of all windows.
Upon shrinking the video size, I noticed the native iPhone buttons in the upper left corner that allow users to expand the video to full screen. Is there an option on iPhone to prevent automatic full-screen display?
Any assistance or insights on this matter would be greatly appreciated. Thank you.