Make WordPress Core


Ignore:
Timestamp:
08/01/2017 04:42:58 AM (7 years ago)
Author:
westonruter
Message:

Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3.

Props rafa8626, grosbouff, westonruter, azaozz, Plastikschnitzer for testing.
See #39686.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r40892 r41198  
    25032503
    25042504        if ( $is_vimeo ) {
    2505             wp_enqueue_script( 'froogaloop' );
     2505            wp_enqueue_script( 'mediaelement-vimeo' );
    25062506        }
    25072507
     
    25452545        wp_enqueue_style( 'wp-mediaelement' );
    25462546        wp_enqueue_script( 'wp-mediaelement' );
     2547        wp_enqueue_script( 'mediaelement-vimeo' );
    25472548    }
    25482549
     
    39463947function wpview_media_sandbox_styles() {
    39473948    $version = 'ver=' . get_bloginfo( 'version' );
    3948     $mediaelement = includes_url( "js/mediaelement/mediaelementplayer.min.css?$version" );
     3949    $mediaelement = includes_url( "js/mediaelement/mediaelementplayer-legacy.min.css?$version" );
    39493950    $wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" );
    39503951
Note: See TracChangeset for help on using the changeset viewer.