The Remote Playback API allows a website to detect if there is a smart speaker or audio system nearby that supports Chromecast or AirPlay. It then provides you with a button to send music or a podcast directly to that device, while still allowing you to control playback from your laptop or phone.