WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#32597 new defect (bug)

mediaelement.js high CPU usage in Firefox

Reported by: afercia Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: External Libraries Keywords:
Focuses: Cc:

Description

Noticed by @iseulde, see discussion here: https://wordpress.slack.com/archives/core-editor/p1433862939000659

Also reproduced on my (very old) machine that makes things very evident. Looks like mediaelement.js audio uses a linear gradient animation on the mejs-time-buffering element which triggers a Firefox bug. I remember similiar issues in Firefox reported years ago and probably never fully fixed. Should probably be reported upstream. See screenshot:

https://cldup.com/tAifYTyqQw.png

Removing that element from the DOM makes the CPU usage go down to 0.

Change History (2)

This ticket was mentioned in Slack in #core-editor by afercia. View the logs.


3 years ago

#2 @iseulde
3 years ago

  • Component changed from General to External Libraries
Note: See TracTickets for help on using tickets.