MediaCapabilities

The MediaCapabilities interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.

MDN Reference