Actually, I’m doing a custom HTML5 player for myself. I removed the standard control panel and replaced it with my own (framed with CSS, made the functionality on JS). But here’s the problem, for some reason, the space, by my standards, it’s standard and prevents me I do not use and do not declare.) When I click on any visual button with the mouse, and then let's say I press the spacebar, it will trigger any function, any button (last pressed), be it Mute, Play, Fullscreen, etc. I don’t understand what problem. It generally should not be and it should not work.

  • I don’t think that the problem is in the code, it looks like I don’t know something, or I’m doing it wrong. Please tell me. - Vladyslav Semenyuk p.m.
  • And you have not seen that this happens with almost any player on different sites, when all the standard buttons are all exactly replaced - Raz Galstyan
  • How to bypass or label it, you do not know ?? No, I did not notice. - Vladyslav Semenyuk
  • I can not immediately say, but look for example in youtube . The space reacts as you have described the question. - Raz Galstyan

0