implemented most of cloud_player_widget