Switched to player api, haven't restored function