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 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
Please let us know how it went here, your feedback is really important as it will be part of the discussion in the W3C Devices and Sensors Group. Join the conversation!