Forum Discussion

LanguageSupport's avatar
LanguageSupport
Community Member
3 months ago

How to track if users refreshed and resumed the course?

Hi really need your help here!! I need to develop a course where users listen to a recording and then do a test, and the audio should only be played ONCE. I can set this up but whenever users refresh the page to resume, they can click on the audio again even if they already clicked the audio before. How can i make sure when users resumed, they can't play again?

    • LanguageSupport's avatar
      LanguageSupport
      Community Member

      Thanks so much!! that's really helpful, now i get it. But new problem: i am using this for 10 questions in the question bank, need to shuffle the questions for students. However, after resuming, the questions get reshuffled, and users can't hear audio for all other questions they have not done.😭

  • Nedim's avatar
    Nedim
    Community Member

    It’s difficult to provide specific guidance without seeing your setup. Could you please upload a simplified version of your project? Are you trying to hide the button that plays the audio, or are you looking to prevent the audio from playing automatically when the course is resumed?

    Possible solution:


    Create a variable named 'resumed' with a value of 'NO'. In this scenario, the audio will not play again after the course is resumed. Attached is a short video demonstration.

    • LanguageSupport's avatar
      LanguageSupport
      Community Member

      Thanks so much for your reply, I tried the setup, but it still allows users to click audio again when resuming. I am wondering if i need to create the 'resumed' variable using True/False instead of TEXT(YES/NO)? Here is the setup screenshot, basically users can click audio twice on first try, but if they resume after clicking the audio buttons, they shouldn't be able to do so.

       

      • LanguageSupport's avatar
        LanguageSupport
        Community Member

        one thing that occured to me, I am publishing the course and using scorm format to be uploaded to other platforms instead of RISE, don't know if this is the reason why it was unable to detect if users resumed or not?