[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 05:48:45 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: has-test-info has-screenshots has- | Focuses:
patch |
-------------------------------------------------+-------------------------
Comment (by hbhalodia):
Hi @rollybueno @Guido07111975, Looks like the we are only checking for the
first instance to load the intended script, which is ideally not correct
because, before loading the script based on first instance, we are
checking for empty attachment, and returning early, so it never reaches
the action which loads the script, now on subsequent playlist, since if we
find the attachment, we proceed, but the chcek related to first instance
would fail and hence it won't load the script. So we need to update it
with proper check instead of first instance check.
Thank You,
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63583#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list