[Demoplayer] Add Spacebar for toggling Play/Pause

This may close #1268; pressing the spacebar will swich between
play/pause in demoplayer