Bug in plugin update, removes video

Hi,

updating Page Builder from v2.8.3.6 to v2.8.4.1 let a video (from WP Media, integrated using the video block) on our webpage disapear. For now I reverted to the older version, but a fix would be appreciated. I had posted this already here: video disappeared after update | WordPress.org with some more details, but we run the Pro version (installed by a web designer, so I don’t have the login for support directly).

Please let me know if there is anything else I could help with fixing this.

Hi @antondd,

Can you take a screenshot of your video module settings and attach in a reply here so we can investigate this further?

@Jamie Here they are. No custom css or javascript in the block, video in WP Media.

Seems I can upload only one image at the time…
Screenshot 2024-10-21 153032

that’s the last one…

Hi Anton,

The issue is that you are using a m4v file extension and not mp4. I’ve reported this as a bug since this changed with version 2.8.4 but I’m not sure if we are going to adjust it to support file extensions other than mp4 at this time.

I’ve re-encoded your video to be mp4 so you can use that if you’d like.

You can download that here:

Another option is to use this filter in your child theme functions.php

add_filter( 'fl_builder_video_module_extension', function( $extension, $module ) {
	return isset( $module->data->filename ) ? pathinfo( $module->data->filename )['extension'] : $extension;
}, 10, 2 );

Thanks for looking into this, I wasn’t aware of the file type limitation, and it was set up by the web designer initially. Alright, I’ll switch to mp4 or embed a youtube video…