wp_get_video_extensions()

Returns a filtered list of WP-supported video formats.


Return

(array) List of supported video formats.


Source

File: wp-includes/media.php

function wp_get_video_extensions() {
	/**
	 * Filters the list of supported video formats.
	 *
	 * @since WP-3.6.0
	 *
	 * @param array $extensions An array of support video formats. Defaults are
	 *                          'mp4', 'm4v', 'webm', 'ogv', 'flv'.
	 */
	return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );
}


Changelog

Changelog
Version Description
WP-3.6.0 Introduced.