need help in Bookmarking

need help in Bookmarking

by Mohammed Shueb -
Number of replies: 2

hi all,

i'm new to scorm, i have googled but dint get proper answer regarding bookmark.

when ever user plays scorm he should be taken to where he left last

till now this is what i have understood

need to check cmi.core.lesson.location for bookmarked pages and redirect their

but dont know where to put this code

do i need to put in scorm_12.js can any body give me a code snippet.

Thanks in advance

Average of ratings: -
In reply to Mohammed Shueb

Re: need help in Bookmarking

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Mohammed,
the logics must be implemented in your Content and not in Moodle.

Google is your friend; a good starting point is the pipwerks SCORM API Wrapper, http://pipwerks.com/laboratory/scorm/api-wrapper-javascript/ (https://github.com/pipwerks/scorm-api-wrapper/blob/master/src/JavaScript/SCORM_API_wrapper.js) and a rough example could be found here: http://stackoverflow.com/questions/9502874/bookmarking-lms-moodle-scorm#9527527.

HTH,
Matteo