Remote-control key mapping for <og-player input="remote">.
TV browsers disagree about KeyboardEvent.key (Samsung reports
"Unidentified" or vendor names for most media keys) but agree on the
legacy keyCode numbers, so the code is matched first and the key name
second. Pure and DOM-free — unit-tested in node.
Remote-control key mapping for
<og-player input="remote">.TV browsers disagree about
KeyboardEvent.key(Samsung reports "Unidentified" or vendor names for most media keys) but agree on the legacykeyCodenumbers, so the code is matched first and the key name second. Pure and DOM-free — unit-tested in node.