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

WordPress Trac noreply at wordpress.org
Wed Jun 18 03:41:55 UTC 2025


#63583: Issue when having multiple Audio and/or Video playlists at the same page
-------------------------------------------------+-------------------------
 Reporter:  Guido07111975                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Embeds                               |     Version:  6.8
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch has-test-info has-       |     Focuses:
  screenshots                                    |
-------------------------------------------------+-------------------------
Changes (by rollybueno):

 * keywords:   => needs-patch has-test-info has-screenshots


Comment:

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 When multiple `[playlist]` shortcodes are present on a single page, if the
 **first** shortcode contains an invalid or non-existent media ID, it
 causes **all subsequent playlists** (even those with valid IDs) to fail
 rendering or break on the frontend. The failure seems tied to how the
 JavaScript initialization for playlists is handled based on the first
 instance.

 === Environment
 - WordPress: 6.8.1
 - PHP: 8.3.17
 - Server: nginx/1.26.1
 - Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.3.17)
 - Browser: Chrome 136.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Four 1.3
 - MU Plugins: None activated
 - Plugins:
   * Query Monitor 3.18.0
   * Test Reports 1.2.0

 === Actual Results
 1. ✅ Error condition occurs (reproduced).

 Steps:
 - Used `[playlist ids="999999"]` as the first shortcode (invalid ID)
 - Followed by two `[playlist ids="10"]` shortcodes (valid media ID) -
 depends on your end
 - On the frontend, **none of the playlists render**

 === Additional Notes
 - The issue does **not occur** if the first `[playlist]` contains a valid
 ID.
 - Inspecting the browser console shows no explicit JS errors, but the
 markup or player initialization script is incomplete or missing.
 - The issue may stem from how `wp-playlist.js` expects valid data from the
 first rendered playlist block.
 - Behavior consistent across audio and video playlists.

 === Supplemental Artifacts
 Before: [[Image(https://i.imgur.com/gepoUDG.png)]]
 After: [[Image(https://i.imgur.com/P9px00t.png)]]

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


More information about the wp-trac mailing list