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-admin/about.php

    r41096 r41198  
    1212if ( ! wp_is_mobile() ) {
    1313    wp_enqueue_style( 'wp-mediaelement' );
     14    wp_enqueue_script( 'mediaelement-vimeo' );
    1415    wp_enqueue_script( 'wp-mediaelement' );
    1516    wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
    1617        'pluginPath'        => includes_url( 'js/mediaelement/', 'relative' ),
     18        'classPrefix'       => 'mejs-',
     19        'stretching'        => 'responsive',
    1720        'pauseOtherPlayers' => '',
    1821    ) );
Note: See TracChangeset for help on using the changeset viewer.