The fsb_allowed_video_extensions filter allows developers to modify the list of allowed video file extensions that are able to be used in Full Screen Background Images.

Currently only MP4 videos are allowed. However, developers can use this filter to return an array of video file formats they would like to use.

In the future if video formats are supported but developers do not wish to have them used on their site for some reason, they can return an array that excludes those formats.


add_filter( 'fsb_allowed_video_extensions', 'my_function' );
function my_function( $extensions ){
	return array( 'mp4' );