VideoItem: Code duplication in the keyboard handling code