html5 output - keydown handler and input fields, focus problem/discrepancy between flash and html

Feb 02, 2016

Hi everybody,

The issue i'm facing is this:

I've got a course with many slides, each slide has an action to go to the next slide on a keypress ('n' to go next, 'b' to go to the previous slide). In my slides there are exercises where the user needs to type certain things. in the flash output this works. meaning, the user can type "a word with an 'n' or a 'b' in it" without going to the next or previous slide.

In the html5 output however, the moment the user types an 'n' in the input field the slide progresses. :-( It should not do that as the focus is on the input field.

Is there a workarround or a fix for this in the making without me having to go in to the course and change all my actions to have other navigation shortcut keys?

I tried, in javascript, e.preventDefault() to see if i could capture the handler at the correct time but no success there. i don't know the inner workings of the player.js enough (its compiled and minified). to figure out a fix myself.

Thanks,
Tom

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.