[wp-trac] [WordPress Trac] #24902: video/audio elements not recognized in IE6-8 even with MediaElement.js
WordPress Trac
noreply at wordpress.org
Wed Jul 31 22:22:08 UTC 2013
#24902: video/audio elements not recognized in IE6-8 even with MediaElement.js
--------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Media | Version:
Severity: critical | Resolution:
Keywords: |
--------------------------+------------------
Comment (by ocean90):
The other issue could be tracked down too...
There are differences between `SCRIPT_DEBUG` on and off. If on all is
fine, if not, the sky is falling down.
SCRIPT_DEBUG false: `<param name="source"
value="silverlightmediaelement.xap"/>`
SCRIPT_DEBUG true: `<param name="source" value="http://example.com/wp-
includes/js/mediaelement/silverlightmediaelement.xap"/>`
Why?
[https://github.com/johndyer/mediaelement/blob/503a34458f0b4f13f7c59e6532cc6ef1b009422b/src/js
/me-utility.js#L16-L61 That's why!]
It's going through all `<script>` and tries to find mediaelement-and-
player.*. Because it's going through load-scripts.php as ?load=foo,bar,wp-
mediaelement it can't find it.
Solution: Set pluginPath, see [attachment:24902.3.diff] (We will do it in
a better way without hardcoding it.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24902#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list