If the webpage has scrollbars (with a small browser window for example), pressing Spacebar plays the video and also scrolls content down.

Avoiding event propagation should fix that. I'm wondering if that could bring any trouble.