Feature request: highlight the currently loaded source in a <video> / <audio> tag in the markup view

NEW
Unassigned

Status

P3
enhancement
2 years ago
7 months ago

People

(Reporter: bgrins, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
From https://bugzilla.mozilla.org/show_bug.cgi?id=1322708#c2

> Also, I was wondering: is there a way that we can detect which source has
> been loaded from JS so that we can highlight it in the Inspector tool as
> another way to help devs figure out which is being used?

The URL of the resource that was loaded is stored in HTMLMediaElement.currentSrc.
(Reporter)

Comment 1

2 years ago
It'd make it easier to debug which source is being used if the markup view showed it somehow (whether we grey out the unused sources or highlight the one that is being used)
Inspector bug triage, filter on CLIMBING SHOES.
Severity: normal → enhancement
Priority: -- → P3

Updated

7 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.