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

WordPress Trac noreply at wordpress.org
Thu Jun 8 12:31:02 UTC 2023


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

Comment (by milindmore22):

 I agree that using PageVisibilityAPI to pause audio or video may not be
 ideal for every user but some users who are hosted on a basic hosting
 (shared hosting) where users open multiple tabs and keep draining
 bandwidth and resources through videos or audio can benefit from it

 We can add a filter that can be used to turn on Page Visibility API
 optimizations ON, I would love to see this in the core but if not then
 this may be a great addition to the Performance Lab plugin

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


More information about the wp-trac mailing list