[wp-trac] [WordPress Trac] #31058: audio video previews JS errors in IE 8

WordPress Trac noreply at wordpress.org
Wed Feb 11 01:54:54 UTC 2015


#31058: audio video previews JS errors in IE 8
--------------------------+-----------------------------
 Reporter:  afercia       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.1.1
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-----------------------------

Comment (by dd32):

 I think the reason the delay works, because by that time the `render()`
 has bubbled up the chain, and it's then been inserted into the DOM.
 I had a half-written comment along the lines of "we could delay creating
 the elements until after it's inserted into the DOM", but the fact that
 the MediaElement loop is written to expect either a root `<body>` or a
 null parentNode signals that it's been patched against this issue, just
 not in a way that works with older IE, which is why I didn't consider
 attempting to delay the creation.

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


More information about the wp-trac mailing list