Mediaplayer fix and api version changes