Added support for playPause