mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-10 22:58:33 +02:00
Props DrewAPicture See #23282. git-svn-id: http://core.svn.wordpress.org/trunk@23732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
10 lines
299 B
JavaScript
10 lines
299 B
JavaScript
(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 () {
|
|
$('.wp-audio-shortcode, .wp-video-shortcode').mediaelementplayer();
|
|
});
|
|
|
|
}(jQuery)); |