state split into loading and playing playing state is global radonly defaultmedia, remove useless getter, reorder fns