karl-rousseau / HybridTvViewer

[WIP] Web extension making Firefox & Chrome emulate iTV webpages instead of downloading them.
MIT License
67 stars 25 forks source link

Cannot always use Colour Keys RGYB as they don't seem mapped #6

Open mackonsti opened 6 years ago

mackonsti commented 6 years ago

Hello again and thank you for your great work on this extension.

Running Firefox 58.0.2 (64bit) on MacOS and v0.5 of your extension.

When loading our HbbTV portal URL, I cannot get the colour buttons to be mapped as keyboard letters R, Y, G, B. It seems Firefox is pushing the actual letters keycodes, judging from the debug window we have on-screen (that reports from within our code).

The portal seems detected from your plugin and Interactive mode is on.

Also there are cases that even clicking on the colour icons, doesn't produce the expected results (but haven't found a way to replicate 100%).

On your sample HbbTV pages e.g. ARTE, the colour buttons seem to work straight away as keyboard-presses.

Are there any special header you expect to find in index.xhtml or can there be a debug of your extension to provide to you?

Many thanks.

fanysoft commented 6 years ago

yes, same here, tested at FF 61.0.2 at Windows and Mac

blithering-idiot commented 5 years ago

The problem is wrong key codes are sent. When you load this app: http://itv.mit-xperts.com/hbbtvtest/keycodes/

and press red button, following error occurs: Status: Invalid key code 403 recieved.

403 is not red button code.