Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#36888 closed defect (bug) (fixed)

Audio fallback hidden

Reported by: iseulde's profile iseulde Owned by: iseulde's profile iseulde
Milestone: 4.6 Priority: normal
Severity: normal Version: 3.9
Component: Media Keywords: has-patch
Focuses: Cc:


Introduced in [28182].

Add visibility: hidden as an inline style to <audio> tags, there is a race with the stylesheet which can get enqueued in the body and loaded in the footer.

However it also makes the fallback invisible in case it is needed.

Attachments (1)

36888.patch (1.4 KB) - added by iseulde 8 years ago.

Download all attachments as: .zip

Change History (5)

8 years ago

#1 @iseulde
8 years ago

If the script is enqueued at the bottom, the native player will be visible shortly before being replaced by the MediaElement player. Right the space is empty before being replaced.

#2 @iseulde
8 years ago

  • Keywords has-patch added

#3 @iseulde
8 years ago

  • Owner set to iseulde
  • Resolution set to fixed
  • Status changed from new to closed

In 37556:

Media: unhide audio fallback

Introduced in [28182].
Fixes #36888.

#4 @iseulde
8 years ago

In 37557:

Media: adjust test after [37556]

See #36888.

Note: See TracTickets for help on using tickets.