/wp-content/plugins/
directory.The plugin supports all video formats compatible with WordPress. However, for conversion, the following formats are accepted: MP4, MOV, AVI, MKV, HEVC, and WEBM.
The plugin uses and assigns two video formats to each product: MP4 and WEBM.
Video previews are automatically generated from the first second of the video. If the FFmpeg library is not available, a WooCommerce placeholder will be used instead of a preview.
Yes, the plugin will still work, but only with MP4 and WEBM videos added directly from the media library. In this case, no conversion to missing formats will be performed.
Yes, Magic Product Video for WooCommerce will work with any theme but may require some additional styling.
If you modify the product gallery display template, you will need to use the plugin’s methods to retrieve video data and display it in your custom template.
Call method to get product video data which was saved on product edit page of admin panel
pvw_get_product_video_data($product_id)
Method return array
[ \'mp4\' => \'url_to_video_in_format_MP4_from_media_on_site\', \'webm\' => \'url_to_video_in_format_WEBM_from_media_on_site\', \'thumbnail_id\' => \'id_of_attachment_jpg_file_which_was_generated_like_cover_of_video\', \'SOME_KEY\' => \'url_to_video_in_original_format_if_not_same_like_mp4,_or_webm\' ]