player is "this" in onLoadedData and onEnded