[wp-trac] [WordPress Trac] #43736: Audio continues to play in Media Modal after close
WordPress Trac
noreply at wordpress.org
Thu Apr 1 15:21:31 UTC 2021
#43736: Audio continues to play in Media Modal after close
--------------------------+------------------------------
Reporter: bahia0019 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.9.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by sabernhardt):
I tried this in WordPress 5.7 (with Windows and Firefox), and it seems to
work now. Clicking the Close button within the (grid mode) dialog ended
the audio playback, and so did the escape key.
If `$('.wp-media-wrapper').remove();` is still necessary for another
situation, [https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-
includes/js/media-views.js#L4399 line 4399] is the
`wp.media.view.UploaderWindow`, which is in
[https://core.trac.wordpress.org/browser/trunk/src/js/media/views/uploader/window.js
\src\js\media\views\uploader\window.js] now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43736#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list