CommunityNews

CommunityNews

Introducing the <usermedia> HTML element | Blog | Chrome for Developers

Learn about the <usermedia> HTML element, a new Capability Element landing in Chrome 151.

Read in full here:

Most Liked

mortz

mortz

Are these features expected to come to other (non Chromium) browsers also or is this a chrome only thing?

pagan

pagan

Yes, it’s Chrome only.

Feature support can be detected with:

'HTMLUserMediaElement' in window

and shimmed with:

const stream = await navigator.mediaDevices.getUserMedia({ video: true, audio: true }); 

document.querySelector('video').srcObject = stream;

I believe this new HTML element will allow developers to avoid calling getUserMedia() which may have an impact on Permissions (for camera, microphone, etc.) during video calls. Perhaps Google is trying to streamline the video call experience (Meet, Zoom) in Chrome.

Seems to expand on concepts related to <geolocation> (which is not Chrome specific).

Where Next?

Popular Frontend topics Top

First poster: bot
Building LightOS with React Native. The Light Phone 2 is a minimalist cellphone that was named one of Time Magazine’s best inventions of...
New
First poster: bot
View here: http://frigidriver.com/mazes/ This thread was posted by one of our members via one of our news source trackers.
New
First poster: bot
At Vouch.io, ClojureScript accelerates and radically simplifies the development of a new kind of digital key for one the largest automoti...
New
First poster: bot
3 TypeScript Tricks I wish I knew when I learned TypeScript. TypeScript is a big Superset of JavaScript which has many features which mi...
New
First poster: bot
Fixing a performance problem in Elm using Html.Lazy. How you can increase the performance of your Elm application using Html.Lazy, and w...
New
CommunityNews
pzuraq | Four Eras of JavaScript Frameworks. A blog about (mostly) computery things
New
First poster: bot
Learning HTML was too hard so I made a compiler instead. This is the 10-year story of how I struggled to learn how to code.
New
First poster: bot
Understanding HTML with Large Language Models. Large language models (LLMs) have shown exceptional performance on a variety of natural ...
New
New
First poster: chris.johan
The five most popular JS frameworks – Angular, React, Vue, Svelte and Blazor – use different rendering strategies, and it shows.
New

Other popular topics Top

PragmaticBookshelf
Take your Go skills to the next level by learning how to design, develop, and deploy a distributed service. Start from the bare essential...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
PragmaticBookshelf
Lint your docs like code: turn any style guide into enforceable rules with Vale and publish clear, consistent content every time. ...
New
xiji2646-netizen
There’s a GitHub repo at forrestchang/andrej-karpathy-skills that’s sitting at 97.8k stars. It’s a single CLAUDE.md file with four behavi...
New