Disable keyboard for HTML5 videos
As soon as I play HTML5 video using video.play(), keyboard arrows
(left/right) start to manipulate video's progress bar. I have an event
attached to left and right arrows in jQuery and this event stops working.
Focus is kept on body all the time. When I click some other element with
my mouse, keyboard stops working for the video and starts working with my
jQuery event.
Is there anything else other than "focus" that makes it work like that?
No comments:
Post a Comment