I attended this session at LUC 2017 that discussed inserting a quiz on the page and then using the test properties to tie the answer choices to the length of time a video was viewed.
It looked cool – but unfortunately I’ve not tried it since returning from the conference as I’ve been bogged down in project work!!!
There is a very basic recap of that session on the Trivantis blog: https://www.trivantis.com/blog/luc-2017-recap-using-lectora-google-docs-simulate-xapi/
Hope that gives some tips to play around with.