[wp-trac] [WordPress Trac] #29916: Plugins cannot access existing mediaelement instances

WordPress Trac noreply at wordpress.org
Fri Oct 10 05:53:35 UTC 2014


#29916: Plugins cannot access existing mediaelement instances
-------------------------------+-----------------------------
 Reporter:  michael.heuberger  |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Media              |    Version:  4.0
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 In my plugin I'd like to call some functions on existing mediaelement.js
 instances. Currently there is no way to do this except creating new ones
 with `new MediaElementPlayer()` but that would eat memory and mess up with
 the event listeners.

 Aim is to call `pause()`, `play()` and `addEventListener()` on the video
 element.

 Any clues? Looks like this is either a call for an enhancement or I am
 missing something.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29916>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list