mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-20 03:04:27 +00:00
Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3.
Props rafa8626, grosbouff, westonruter, azaozz, Plastikschnitzer for testing. See #39686. git-svn-id: https://develop.svn.wordpress.org/trunk@41198 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -54,6 +54,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
|
||||
$video_library = apply_filters( 'wp_video_shortcode_library', 'mediaelement' );
|
||||
if ( in_array( 'mediaelement', array( $video_library, $audio_library ), true ) ) {
|
||||
wp_enqueue_style( 'wp-mediaelement' );
|
||||
wp_enqueue_script( 'mediaelement-vimeo' );
|
||||
wp_enqueue_script( 'wp-mediaelement' );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user