fetch(ajaxurl, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: 'action=llms_mark_video_complete&lesson_id=' + lessonId + '&nonce=' + llmsVideoData.nonce });