added some play/pause and loading functionality to the player. intermediate step