cloudbearings / ez-access-web

Automatically exported from code.google.com/p/ez-access-web
0 stars 0 forks source link

Timeout #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We have been talking about having an EZ Access-provided timeout functionality 
to reset kiosks if they are left unattended.

We need to make sure that the timer for the timeout is reset/cleared
(1) whenever the user does anything (pressing any key, touching the screen, 
etc.) and 
(2) while the speech engine is talking.

The idea is that if the speech engine is reading a really long block of text, 
that the system wouldn't start the timeout timer until it had finished reading 
the text block.

Without a tweak, this would may not be compatible with an idle speech loop 
(where the system gives a loop of instructions over and over until a user does 
something). This seems okay to me, since an idle speech loop should only 
implemented on pages that don't time out, but this might be an authoring error 
case that we need to think of.

Original issue reported on code.google.com by jbjor...@gmail.com on 26 Sep 2013 at 5:05

GoogleCodeExporter commented 8 years ago
So about to commit this new feature.

Default time after alert is 20 seconds is not specified. Can specify through:

data-ez-timeout-delay="before after"

After is optional of course, and if the attribute is not found the whole 
feature is disabled.

If you want the alert but don't want to refresh, use:
data-ez-timeout-delay="before -1"

A value of 0 will go immediately after text is read.

Lastly, the action is going to the page indicated by:
data-ez-timeout-href="URL"
This can be relative or absolute.

Original comment by aeharding on 1 Oct 2013 at 5:26

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r343.

Original comment by aeharding on 1 Oct 2013 at 5:27