Add play/pause flash and keydown event