[wp-trac] [WordPress Trac] #47513: JavaScript TypeError when Video Playlists use native video elements
WordPress Trac
noreply at wordpress.org
Fri Sep 2 07:10:35 UTC 2022
#47513: JavaScript TypeError when Video Playlists use native video elements
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses: javascript
testing has-testing-info |
-------------------------------------------------+-------------------------
Comment (by afercia):
I can still reproduce this issue. Will try to describe the simple steps to
reproduce it:
- Add a Video playlist to a page. You can use the Classic editor or a
Classic block.
- Use a .mp4 as the first video in the playlist.
- Use the .ogv attached to this ticket as the second video in the
playlist.
- The shortcode will be something like this, with the IDs of your videos:
{{{
[playlist type="video" ids="2184,2183"]
}}}
- Publish the page and go to the front end.
- Play the playlist.
- Observe that as soon as the first video ends and the second one attempts
to start, a JS error is triggered. See screenshot below.
Tested on macOS, Chrome 104.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47513#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list