How to upload videos from the frontend using “featured video plus plugin ” in WordPress?

How can I upload videos from the frontend using “featured video plus plugin” in WordPress? I am using customize theme and wrote this function for upload, but it doesn’t work

function upload_video(id,fvp_nonce,fvp_video) {
    $.post( ajaxurl, {
    'action'    : 'fvp_save',
    'id'        : id,
    'fvp_nonce' : fvp_nonce,
    'fvp_set_featimg':'false',
    'fvp_video' : 'http://localhost/1213044.mp4',
    'fvp_sec'   : "correct"
    });
}

Related posts