Controlling a YouTube video from emacs

How to control a YouTube video playing in the browser from emacs using keybindings (on Linux)