Timer for How Long it Took To Complete?

mbritt's picture

Is there any way to put in a timer that a person would click on say, at the beginning of an question activity and then after the last slide the person would be told how long it took for them to complete the activity?

Michael

BV52's picture

Hi Michael,

There was a project by Otacke a few months ago regarding a timer although I'm not sure what is the current status of this. 

-BV52

mbritt's picture

Thanks for that link. Definitely going to check this out.  

I ask the question because I'm trying to see if I can put together an H5P activity that is a mini-experiment of sorts.  I'm thinking I would start with the Presentation content type and offer the student a button that says "Condition A" or "Condition B". Each condition would start at a different slide in the presentation and present the student with a task.  A timer would start perhaps as soon as the student reaches the slide with the task and then stop when the student clicks a "Done" button. Then they'd be brought to a final slide which told them how long it took them to complete the task.  They could then go back to slide 1 and try the other condition.

Could be a fun way to learn. An unscientific experiment of course, but that's fine. I can't think of any way to do this unless there was a timer tool though.

Michael  

BV52's picture

Hi Michael,

That is a neat idea. As far as I know most of the content types have some sort of timer included in the xAPI statements. H5P emits data in the form of xAPI statements and you will need a plugin or custom code to listen to these statements and a data store such as a learning record store to save them in.

I highly recommend looking through these documentation:

 

https://h5p.org/documentation/x-api

https://h5p.org/documentation/for-authors/analyzing-results-and-answers

 

-BV52

 

otacke's picture

The timer library is working, and I know that some people at the university in Hamburg are using it to add some functionality to content types. It might be overkill though if you just need a stop watch ;-)

mbritt's picture

Thanks BV52.  I took a quick look at the documentation, but unfortunately I don't have quite the programming chops to even know where to start.  But, who knows? We do have some programmers on staff, maybe I'll get them to jump in and take a look.

Thanks again,

Michael