Go to file
Scott Taylor bfd0ac1099 The `canPlayType` property for audio and video in JS is so bad that the official valid responses are "probably" and "maybe". There are many cases where we might want to know if an audio|video tag is gonna blow up in our face before even attempting to make a `MediaElementPlayer` instance out of it.
The best (and most cautious) way to tackle this is to whitelist types by browser. Imagine that one implemented MEjs in TinyMCE's rich editor mode, this would be very helpful.

Add `isCompatible( $media )` to `wp.media.mixin`. Future features will use this.

See #27389.



git-svn-id: https://develop.svn.wordpress.org/trunk@27539 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-14 14:35:49 +00:00
src The `canPlayType` property for audio and video in JS is so bad that the official valid responses are "probably" and "maybe". There are many cases where we might want to know if an audio|video tag is gonna blow up in our face before even attempting to make a `MediaElementPlayer` instance out of it. 2014-03-14 14:35:49 +00:00
tests Improve `paginate_links()` performance by not calling `number_format_i18n()` unnecessarily. Fixes #25735 with tests. Props johnpbloch. 2014-03-13 17:38:51 +00:00
tools/i18n i18n tools: Have makepot search for the main file of the plugin. 2014-03-04 21:06:48 +00:00
.editorconfig Add .editorconfig file, see http://editorconfig.org/. 2014-02-20 02:35:38 +00:00
.gitignore Remove twenty* ignore-exclusion lines. Already tracked. 2014-02-26 20:59:25 +00:00
.jshintrc Remove smarttabs from .jshintrc per IRC discussion. see #25187. 2013-11-13 19:23:16 +00:00
.travis.yml Add jshint to Travis CI config. 2014-02-25 17:57:04 +00:00
Gruntfile.js Widget Customizer: Move style/script registration to script loader. Update Gruntfile.js. 2014-03-13 19:40:15 +00:00
package.json Developer tools: grunt-patch-wordpress from jorbin, for applying patches directly from Trac. 2014-02-26 21:45:55 +00:00
phpunit.xml.dist
wp-config-sample.php Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
wp-tests-config-sample.php Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282. 2013-09-23 16:17:59 +00:00