added playpause to player