ConvertPlayer and WP Rocket compatibility issue - solved!

How to resolve compatibility issue with ConvertPlayer and WP Rocket plugin

If you are experiencing problems with ConvertPlayer videos and WP Rocket plugin please follow instructions form this article made by WP Rocket:

https://docs.wp-rocket.me/article/39-excluding-external-js-from-minification

The specific line that will be customised for ConvertPlayer will look like this:

$external_js[] = 'cpem.io';

Therefore the final part of the code will look like:

function __fix_wprocket_excluded_external_js($external_js) {  	
	$external_js[] = 'cpem.io';  	
	return $external_js; 
}

add_filter('rocket_minify_excluded_external_js', '__fix_wprocket_excluded_external_js');

If you need any more assistance please contact our support.

Still need help? Contact Us Contact Us