Make WordPress Core

Ticket #23798: 23798.diff

File 23798.diff, 1.2 KB (added by wonderboymusic, 12 years ago)
  • wp-includes/js/mediaelement/wp-mediaelement.css

    diff --git wp-includes/js/mediaelement/wp-mediaelement.css wp-includes/js/mediaelement/wp-mediaelement.css
    index 2160abf..1115153 100644
     
    88
    99.mejs-controls .mejs-time-rail .mejs-time-current {
    1010        background: #d54e21;
     11}
     12
     13.me-cannotplay a {
     14        color: inherit;
     15}
     16
     17.me-cannotplay a span {
     18        padding: 0;
    1119}
     20 No newline at end of file
  • wp-includes/js/mediaelement/wp-mediaelement.js

    diff --git wp-includes/js/mediaelement/wp-mediaelement.js wp-includes/js/mediaelement/wp-mediaelement.js
    index c162128..edbbd06 100644
     
    44        mejs.plugins.silverlight[0].types.push('audio/x-ms-wma');
    55
    66    $(function () {
    7                 $('.wp-audio-shortcode, .wp-video-shortcode').mediaelementplayer();
     7                $('.wp-audio-shortcode, .wp-video-shortcode').mediaelementplayer({
     8                        error : function (elem) {
     9                                var parent = $(elem).closest('.mejs-container');
     10                                parent
     11                                        .removeAttr('style').css('background-color', 'transparent')
     12                                        .find('.mejs-mediaelement').css('position', 'relative').end()
     13                                        .find('.me-cannotplay').removeAttr('style').end()
     14                        }
     15                });
    816        });
    917
    1018}(jQuery));
     19 No newline at end of file