mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-09-22 08:50:24 +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:
@@ -163,11 +163,9 @@ class WP_Widget_Media_Video extends WP_Widget_Media {
|
||||
/** This filter is documented in wp-includes/media.php */
|
||||
if ( 'mediaelement' === apply_filters( 'wp_video_shortcode_library', 'mediaelement' ) ) {
|
||||
wp_enqueue_style( 'wp-mediaelement' );
|
||||
wp_enqueue_script( 'mediaelement-vimeo' );
|
||||
wp_enqueue_script( 'wp-mediaelement' );
|
||||
}
|
||||
|
||||
// Enqueue script needed by Vimeo; see wp_video_shortcode().
|
||||
wp_enqueue_script( 'froogaloop' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user