WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#36888 closed defect (bug) (fixed)

Audio fallback hidden

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

Description

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 4 years ago.

Download all attachments as: .zip

Change History (5)

@iseulde
4 years ago

#1 @iseulde
4 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
4 years ago

  • Keywords has-patch added

#3 @iseulde
4 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
4 years ago

In 37557:

Media: adjust test after [37556]

See #36888.

Note: See TracTickets for help on using tickets.