diff -r 000000000000 -r d970ebf37754 wp/wp-includes/js/mediaelement/wp-mediaelement.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-includes/js/mediaelement/wp-mediaelement.js Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,15 @@ +(function ($) { + // add mime-type aliases to MediaElement plugin support + mejs.plugins.silverlight[0].types.push('video/x-ms-wmv'); + mejs.plugins.silverlight[0].types.push('audio/x-ms-wma'); + + $(function () { + var settings = {}; + + if ( typeof _wpmejsSettings !== 'undefined' ) + settings.pluginPath = _wpmejsSettings.pluginPath; + + $('.wp-audio-shortcode, .wp-video-shortcode').mediaelementplayer( settings ); + }); + +}(jQuery));