WordPress at a glance
filter is not described

wp_video_shortcode filter-hook . WP 3.6.0

Filters the output of the video shortcode.


add_filter( 'wp_video_shortcode', 'filter_function_name_8529', 10, 5 );
function filter_function_name_8529( $output, $atts, $video, $post_id, $library ){
	// filter...

	return $output;
Video shortcode HTML output.
Array of video shortcode attributes.
Video file.
Post ID.
Media library used for the video shortcode.

Where the hook is called

wp-includes/media.php 2752
return apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library );

Where the hook is used (in WP core)

wp-includes/widgets/class-wp-widget-media-video.php 133
add_filter( 'wp_video_shortcode', array( $this, 'inject_video_max_width_style' ) );
wp-includes/widgets/class-wp-widget-media-video.php 143
remove_filter( 'wp_video_shortcode', array( $this, 'inject_video_max_width_style' ) );