wp-includes/widgets/class-wp-widget-media-video.php:174Enqueue preview scripts.
One hook fires while WP_Widget_Media_Video::enqueue_preview_scripts() runs, in this order:
Filters the media library used for the video shortcode.
public function enqueue_preview_scripts() { /** 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' ); } }Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/widgets/class-wp-widget-media-video.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.