In 2021, no one will be surprised by navigating the application without reloading pages, determining the user's location, playing audio and video, two-way synchronization using web sockets, and even more so debugging using console.log. As developers, we are used to these browser capabilities, which are briefly grouped under the name Web APIs, and we use them every day. And in the daily routine of development, we often forget that the frontend is not only moving pixels across the screen, creating another form or converting data from one JSON to another using the user, but also a whole set of interesting APIs that can be skillfully applied if they are you know. Let's figure out what a modern browser can do and how it can help "regular" projects.
Playback control in PWA
When you listen to your favorite song or a new episode of a podcast in a native application, it's quite common to control playback through operating system widgets, multimedia keys on your keyboard, or even your smartwatch. Can you do the same inside a PWA?