WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28905, comment 28


Ignore:
Timestamp:
07/16/2014 11:20:01 PM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28905, comment 28

    initial v1  
    44
    55Thinking a better solution would be to fire an editor event for pausing/removing the ME.js players. Then listen for it from inside the (local) iframes we've added. That would make it asynchronous, i.e. you don't need to select any players, don't even need to know if there are any.
     6
     7Another (easy?) workaround would be to add a className to the local iframes we created and look for that before trying to access `contentWindow`.