I've recently started using the Vimium plugin for Chrome to allow me for browsing the web using some common Vi(m) keyboard shortcuts.

The HTML5 video player used by Youtube can be controlled by some keyboard shortcuts. However, this only works once it is focused. Is there a way to focus/defocus on a flash element on general or the Youtube player in particular which will give me access to the built-in video player keyboard commands?


  • Have you considered using YouTube Leanback? It's designed to be fully controlled with the keyboard (heck, even a TV remote). – Bob Apr 28 '12 at 10:16
  • No. It is a viable alternative (thank you), but I would prefer to be able to browse the "normal" pages in the manner I describe. – Wouter Donders Apr 28 '12 at 11:41

Using something like fastscripts, override the shortcut of your liking.

An app like fastscripts listens globally (overrides both flash and chrome) but will act locally. It will do exactly what you want in this case.

tell application "Google Chrome"
end tell

tell application "System Events"
    tell process "Google Chrome"
        tell menu bar 1
            tell menu bar item "File"
                tell menu "File"
                    click menu item "Open Location…"
                end tell
            end tell
        end tell
    end tell
end tell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.