Media: View and debug media players information

Dale St. Marthe
Dale St. Marthe

Use theMedia Panel in Chrome DevTools to view information and debug the media players per browsertab.

Overview

TheMedia panel is the main place in DevTools for inspecting the media player of a page. Audio and video sources are listed in the left section of theMedia panel underPlayers, and the right section displays various properties and details.

TheMedia panel lets you do the following:

Open the Media panel

To open theMedia panel:

  1. Open DevTools.
  2. Click theMore Options >More tools >Media to open theMedia panel.

Media panel.

View media players information

To view media player information, follow these steps:

  1. Visit a page with a media player, such ashttps://youtu.be/e1gAyQuIFQo.
  2. You can now see a media player under thePlayers menu.
  3. Click on the player. TheProperties tab displays the properties of the media player.Media panel properties.
  4. Click on theEvents tab to view all the media player events.Media panel events.
  5. Click on theMessages tab to view the media player message logs. You can filter the messagesby log level or string.Media panel messages.
  6. TheTimeline tab is where you can view the media playback and buffer status live.Media panel timeline.

Remote debugging

You can view the media players information on an Android device from your Windows, Mac, or Linuxcomputer.

  1. Followthese steps to set up remote debugging.
  2. Now you can view the media players information remotely.

Remote debugging example.

Hide and show media players

Sometimes there might be more than one media player on a page, or you might use the same browser tabbrowsing different pages, each with media players.

You can choose to show or hide each media player for easier debugging experience.

  1. Browse to several different video pages using the same browser tab.
  2. Right-click on one of the media players. You can choose to hide the selected player by selectHide player or selectHide all others to hide all the other players.

Hide media players

Export media player information

  1. Right-click on one of the media players.
  2. SelectSave player info to download the player info as json.

Export media information

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-08-20 UTC.