A webcam that detects the folded posture and change its layout accordingly to improve user's experience.
This is a webcam created by Samsung Internet to showcase the device posture API and viewport segment API working together on a Samsung Galaxy Flip using WebRTC. You can follow the step by step codelab to recreate this yourself with the starter kit: https://github.com/SamsungInternet/webcam-fold-starterkit
- Basic knowledge of HTML5, CSS and Javascript
- Samsung Internet Web Browser
- For testing: A foldable device / Samsung Remote Test Lab Account / Device Posture API Polyfill