Create a configurable key bindings pool
so you can do things like:
function KeyCheck (e)
{
var KeyID = (window.event) ? event.keyCode : e.keyCode;
if (KeyID == 66)
{
videoElement = slideEls[curSlide].getElementsByTagName("video")[0];
if (videoElement.paused == true)
videoElement.play ();
else
videoElement.pause ();
}
}
Which allows me to use my Kensington 33374 Wireless Presenter's 'b' key to play
<video> on the slide
Original issue reported on code.google.com by x3n.me.uk@gmail.com on 28 Jul 2012 at 2:15
Original issue reported on code.google.com by
x3n.me.uk@gmail.com
on 28 Jul 2012 at 2:15