← All stories
● Covered by 1 source Β· 1 reportMedium impact

Chrome 151 Launches <usermedia> HTML Element for Camera and Microphone Access

Aggregated by BrevFeed dev Β· updated 22h ago
πŸ”– Save

Chrome 151 introduces the <usermedia> HTML element, enhancing permissions for camera and microphone access. This new functionality allows for user-activated controls, reducing code complexity and improving success rates for permission grants.

Key points

Introduction of the <usermedia> Element

The <usermedia> HTML element was introduced in Chrome 151 as part of the Capability Elements suite. It follows the <geolocation> element and serves to manage access to camera and microphone streams more efficiently. This new element represents a significant advancement in how permissions are handled in web applications.

Transition from Generic to Specific Controls

Unlike previous generic permission requests, <usermedia> provides targeted controls based on user interaction. This shift simplifies the process for developers, allowing for less boilerplate code and a more structured user experience. The element directly captures user intent and manages the media flow, replacing the need for separate getUserMedia() calls.

Real-World Impact

Initial data from the Origin Trial reveals a marked improvement in user engagement with permission requests. Cisco reported that the likelihood of users granting permissions improved from 10% to over 65% with the new controls. Similarly, Zoom and Google Meet noted reductions in capture errors and significant increases in recovery rates for previously denied permissions.

Benefits for Users and Developers

The <usermedia> element not only simplifies permission requests but also enhances security and user experience. By providing users with clear recovery pathways, it addresses long-standing issues related to denied permissions, ensuring better functionality in web applications relying on media capture.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β€” check the original sources. How BrevFeed works β†’

Reporting from

Chrome 151 introduces the <usermedia> HTML element, enhancing permissions for camera and microphone access. This new functionality allows for user-activated controls, reducing code complexity and improving success rates for permission grants.