[wp-trac] [WordPress Trac] #58434: Use Page Visibility API to improve performance

WordPress Trac noreply at wordpress.org
Thu Jun 8 11:04:00 UTC 2023


#58434: Use Page Visibility API to improve performance
-------------------------------+------------------------------
 Reporter:  milindmore22       |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion close  |     Focuses:  performance
-------------------------------+------------------------------
Changes (by desrosj):

 * keywords:   => 2nd-opinion close
 * component:  General => Media


Comment:

 Since the Heartbeat API has it's own ticket, I'm only going to address the
 first two.

 I'm not sure that it's always the desired behavior for video and audio to
 stop when a window is hidden, especially for audio. From personal
 experience, I frequently start a video or audio embed and then leave the
 browser to work on other things.

 Marking as a close candidate but also marking for a second opinion.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58434#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list