[wp-trac] [WordPress Trac] #27971: pauseAllPlayers in media-audiovidio.js stops players on the entire page

WordPress Trac noreply at wordpress.org
Fri Jun 20 00:04:17 UTC 2014


#27971: pauseAllPlayers in media-audiovidio.js stops players on the entire page
--------------------------+-----------------------------
 Reporter:  raptor235     |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by avryl):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I don't like the click listener on `.wp-switch-editor`. Switching the
 editor can also be triggered manually with `switchEditors.go()`. Instead I
 would pause the played when the tinymce editor hides. Patch attached.

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


More information about the wp-trac mailing list