| author | ymh <ymh.work@gmail.com> |
| Mon, 08 Jun 2015 16:11:51 +0000 | |
| changeset 4 | 346c88efed21 |
| parent 0 | d970ebf37754 |
| child 5 | 5e2f62d02dcd |
| permissions | -rw-r--r-- |
(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));