Skip to main content
New Participant
February 24, 2021
Question

Pause the project if the user is inattentive

  • February 24, 2021
  • 2 replies
  • 409 views

Hi,
I am using Captivate 2019.
The project I am creating foresees that all the slides are timed. But I need that when a user is inattentive (for example when he opens another app or another browser window) the project pauses.
How can I do?

Thanks so much
Angel

    This topic has been closed for replies.

    2 replies

    TLCMediaDesign
    Inspiring
    March 4, 2021

    This may help, I answered this in another thread.

     

    You can execte this JavaScript on the first slide onEnter in an advanced action or just execute JavaScript.

     

    It will pause any slide if the tab loses focus. It will then resume when the tab regains focus.

     

    The only caveat with doing it this way is that if it is at the end of a slide, it will resume to the next slide. This can be fixed but it involves more JS to detect the end of a slide.

     

    document.addEventListener('visibilitychange', function(ev)
    {
    if ( document.visibilityState === 'hidden')
    {
    window.cpCmndPause = 1;
    }
    else
    {
    window.cpCmndResume = 1;
    }
    });

    Lilybiri
    Brainiac
    February 24, 2021

    You will not like my answer...

    As a former professor, may I ask if you really want to treat adults with so much distrust?  Not at all recommended for efficiency of courses, learning and coaching are based on positive attitude, not on a Big Brother Watches You mentality.  

     

    I am happy that there is no easy way to detect 'inattentiveness' in an objective way in Captivate. In Europe that way of control would even be considered a violation of the privacy.  As I told my colleagues in college complaining about students not attending their lectures: try to reflect on your lectures, what is wrong, what is not attractive, how can you improve, what is needed to make students want to come to your classes, to engage theml?  Same for eLearning courses, maybe even more important since most of them are asynchronous. 

     

    New Participant
    March 4, 2021

    Hi Lylybiri
    I completely agree with you on the effectiveness of a course based on the obligation to watch the screen. My question, however, arises from a request from a client who, to be sure that a student complies with the legal obligation to attend, must pause if the student gets distracted.

    Lilybiri
    Brainiac
    March 4, 2021

    Sorry, I don't know about a way to do so. You can tell the client. Personally I would simply refuse to do so, but I understand that you don't like to do that. My stubbornness has got me into troubles in the past with that type of requests. A legal obligation of that type? That would be impossible here in Belgium, since this is contrary to the privacy protection laws. Inserting knowledge check slides, offering more control to the learner, making the course more engaging (more, not less control by learner), adding gamification elements.