Jump Around In YouTube Videos With Number Keys

When watching a YouTube video in Safari, or most videos embedded using HTML5, you can jump around in the video timeline by simply pressing the number keys, 0 to 9. This doesn’t work if the site is using any kind of special embedded video player, but seems to work with YouTube, videos at Archive.org, etc.