This filter may be handy if you want to change transfer protocol. Eg. from http to https.
<?php
add_filter('vc_frontend_editor_iframe_url', 'change_frontend_editor_iframe_url');
function change_frontend_editor_iframe_url($url) {
return str_replace("http://", "https://", $url);
}