player: add support for pause