How to test codec support on ChromeOS
Test codec support on ChromeOS on a Chromebook, check video and audio formats, and learn why a supported file may still fail to play.
To test codec support on ChromeOS, check what Chrome reports, then try the actual video or audio you need to use. The first check tells you which formats the browser says it can handle. The second confirms whether your particular file or website works.
A supported format does not guarantee smooth playback. The file may use a different codec, the Chromebook may struggle with its resolution, or a website may have its own requirements.
Check codec support on your Chromebook
- Open the Browser Info tool in Chrome on the Chromebook you plan to use.
- Find the codec information and look for the audio or video format you want to check. Note what the tool reports for it.
- Compare the result with the requirements of your file or website. Check both the video codec and the audio codec when that information is available.
- Play the actual file or open the website in Chrome. Check the picture and sound, and seek to another point in the video if you expect to do that during playback.
- If you have another Chromebook to compare, repeat the check on that device. Keep the file or website and browser settings the same so the comparison is useful.
If you also need to record the device's processor, graphics or screen details, the System Info tool can show them. Those details provide context, but they do not by themselves tell you whether a particular codec will play.
To check the ChromeOS version, open Settings › About ChromeOS. Note the version alongside your results if you plan to compare them after an update or share them with support.
Know which format to check
A video file usually has a container, such as MP4 or WebM. The container holds the picture and sound, which are compressed using separate codecs. An MP4 file, for example, might contain H.264 video and AAC audio.
The file extension alone does not identify everything inside it. Two files ending in .mp4 can use different video codecs, and a Chromebook might play one but not the other. Ask the person who provided the file for its video codec, audio codec and resolution if you do not have that information.
Codecs can also have different profiles and levels, which describe variations and limits within the format. A general support result is useful as a first check, but it may not cover the exact combination in your file.
Check a specific format in Chrome
If the format you need is not clear from the Browser Info results, you can ask Chrome about a specific combination. This check uses Chrome's developer console, a panel for entering browser commands. It does not open or change your files.
- In Chrome, press Ctrl + Shift + J to open the console. On a managed Chromebook, your organization may have disabled it.
- Enter the following command and press Enter to check an MP4 combination with H.264 video and AAC audio:
document.createElement('video').canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')
- For a separate check of a WebM combination with VP8 video and Vorbis audio, enter this command and press Enter:
document.createElement('video').canPlayType('video/webm; codecs="vp8, vorbis"')
Chrome returns probably, maybe or an empty string. probably means the browser expects to play that combination. maybe means it cannot be certain from the description alone. An empty string means Chrome reports that it cannot play the specified combination.
These examples test only the combinations written in the commands. A negative result does not mean every MP4 or WebM file will fail. Likewise, a positive result is not a guarantee that a particular file will play smoothly.
What to do if playback still fails
The picture plays but there is no sound
First check the Chromebook's volume and the player's mute control. If other audio works, the file's audio codec may be unsupported or the file may have no audio track. Ask for a copy with a different audio format and test it in the same browser.
The file will not open in Chrome
A damaged or incomplete file can fail even when Chrome supports its codecs. Get a fresh copy and try again. If it is a local video, you can drag it from the Files app into a new Chrome tab to test it in the browser. Opening it this way does not upload it to a website.
Playing the file in a separate app is also useful, but a successful result there does not prove that Chrome or a website can play it. Apps can use different playback systems.
The video plays but stutters
Codec support does not establish that playback will be smooth or that the Chromebook can use its graphics hardware to decode the video. Try a lower resolution or close other demanding tabs, then test again. For streaming, a slow or unstable connection can also cause pauses.
A website fails even though the codec is supported
The site may require additional features, such as protected playback for licensed video. It may also use a different codec from the one you checked. Try the site's suggested troubleshooting steps, and ask its support team for the exact playback requirements if the problem continues.
If you share results with support, include the ChromeOS version, the codec combination, the test result and the exact playback symptom. Leave out unrelated device details unless they are needed to investigate.
