Copy link to clipboard
Copied
Bonjour,
Je rencontre un problème avec l'api scorm.
Je pousse via un script JS les réponses à chaque slide dans captivate. Cependant scorm réinitialise entre chaque slide le score à zéro.
Est-ce dû à un paramètre, dans captivate, que je n'aurai pas mis en place?
Merci
Copy link to clipboard
Copied
J'ajoute une capture ou l'on voit le score raw repasser à zéro alors que le quiz est compléter.
Copy link to clipboard
Copied
Est-ce que vous utlisez le script SCORM de Captivate, qui transfère le résultat après chaqye diapostive de quiz?
Copy link to clipboard
Copied
Nous utilisons des script JS pour faire le push :
/**
* Push information about quiz to LMS
*/
function pushInitQuiz(){
SCORM_CallLMSSetValue(path_min, 0);
SCORM_CallLMSSetValue(path_max, 100);
SCORM_CallLMSSetValue(path_raw, 0);
SCORM_CallLMSSetValue(path_status, "incomplete");
}
/**
* Push information about current question to LMS
* @param {*} _index The current question index
*/
function pushInitQuestion(_index){
SCORM_CallLMSSetValue(path_type(_index),"performance");
SCORM_CallLMSSetValue(path_question_id(_index),question_ids[_index]);
SCORM_CallLMSSetValue(path_weight(_index), question_weights[_index]);
SCORM_CallLMSSetValue(path_correct_response(_index),correct_lists[_index]);
}
/**
* Push information about current student response to LMS
* @param {*} _index The current question index
*/
function pushOnNextQuestion(_index){
SCORM_CallLMSSetValue(path_student_rep(_index),cpFormatedResponses);
SCORM_CallLMSSetValue(path_result(_index),cpNote);
SCORM_CallLMSSetValue(path_time(_index),getTime());
}
/**
* Push the updated student raw
*/
function pushUpdatedRaw(){
SCORM_CallLMSSetValue(path_raw, cpRaw * 100 / (cpCurrentIt + 1));
//SCORM_CallLMSSetValue(path_raw, cpRaw/getQuizMaxPoints()*100);
SCORM_CallLMSCommit("");
}
/**
* Push information when exiting quiz
*/
function pushOnFinish(){
SCORM_CallLMSSetValue(path_status, "passed");
SCORM_CallLMSCommit("");
}
Copy link to clipboard
Copied
Je ne suis pas capable de vous aider pour un script SCORM. Les 'templates' SCORM inclus avec Captivate ont été développés par Rustici, considéré comme les meilleurs, les 'standards' dans ce domaine. Il faut contacter celui qui a rédigé ce script.
Copy link to clipboard
Copied
Je fais une publication au format HML5 et dans le dossier j'ai mes éléments suivants: