[wp-trac] [WordPress Trac] #63583: Issue when having multiple Audio and/or Video playlists at the same page

WordPress Trac noreply at wordpress.org
Tue Aug 26 23:20:03 UTC 2025


#63583: Issue when having multiple Audio and/or Video playlists at the same page
-------------------------------------------------+-------------------------
 Reporter:  Guido07111975                        |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  Media                                |     Version:  6.8
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-test-info has-screenshots has-   |     Focuses:
  patch has-unit-tests                           |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * owner:  (none) => TimothyBlynJacobs
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60678" 60678]:
 {{{
 #!CommitTicketReference repository="" revision="60678"
 Media: Fix playlist shortcodes not rendering correctly if the first
 playlist is broken.

 The playlist shortcode has a base set of JavaScript that should only be
 loaded once. Previously, this JS was only loaded the first time a playlist
 shortcode was processed. If the first playlist was broken, because the
 media file was missing for instance, this would break all other playlists
 on the page.

 This commit introduces a new static variable to keep track of whether the
 necessary JavaScript has been loaded instead.

 Props iamadisingh, abcd95, justlevine, jorbin, rollybueno, Guido07111975.
 Fixes #63583.
 }}}

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


More information about the wp-trac mailing list