Skip to content
product-option-manager

Charge extra for options – get 30+ premium fields, conditional repeaters, image inputs, and priority support.

See Pro Plans →

Embedded Video Not Displaying in Audio/Video Fields

Some file extensions are not rendered by default in WP when using the Audio/Video input. Here is a preview of how it should look - demo.

If you encounter such situations, you need to use the following code snippet either by using the Code Snippets plugin or by pasting it into the functions.php file of your active theme:

add_filter( 'wp_video_extensions', 
    function( $exts ) {
        $exts[] = 'mov';
        return $exts;
    }
);

📝 Note: In the above case, we used it to embed mov files. Feel free to replace the extension if needed.

⏪ Before

⏩ After