Web APIs

Media Capabilities API

Checking compatibility...

Determine if a device can play specific media formats smoothly and power-efficiently. Perfect for adaptive media experiences.

Video Decoding

Find out if a device can play specific video formats. This example shows how to check whether different video codecs, resolutions, and bitrates will work smoothly on the user's device, helping you select the optimal video quality.

=
=
=
=
=
=

Output

Click Run to see output...

Audio Decoding

Check if a device supports specific audio formats. This example demonstrates how to test different audio codecs and configurations to ensure your audio content will play properly for all users.

=
=
=
=
=
=

Output

Click Run to see output...

Encoding Capabilities

Determine if a device can record media in specific formats. This example shows how to check whether a user's device can efficiently encode video and audio for recording or live streaming purposes.

=
=
=
=
=
=

Output

Click Run to see output...