Refactored the passing of phononMediaPlayer