[wp-trac] [WordPress Trac] #42189: MediaElement.js 4.2 is not backward compatible with 2.2

WordPress Trac noreply at wordpress.org
Thu Oct 12 04:27:33 UTC 2017


#42189: MediaElement.js 4.2 is not backward compatible with 2.2
--------------------------+-----------------------
 Reporter:  bradyvercher  |       Owner:  rafa8626
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.9
Component:  Media         |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by rafa8626):

 @bradyvercher For the global variables, they can be added easily. As for
 the jQuery pieces, you have listed the main one, which is the way features
 are built. One of the methods can be overridden via
 MediaElementPlayer.prototype to prepare those arguments to accept jQuery
 objects if they are not the basic ones, like you described on
 https://github.com/mediaelement/mediaelement/issues/2415. I don't know
 what are the other properties on the player object that you may need but
 if you list them I can assess how they can be converted using the same
 approach described before. That code snippet to override variables or
 reassign variables can be placed on the wp-mediaelement.js. I can prepare
 a PR with this possible solution, but let me know

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


More information about the wp-trac mailing list