set on Error Listener for the media player

set the onError Listener for the media player on streaming and playing local file, and change the call back to return error with abort message to js

I have a problem when trying to stream corrupted file, MediaPlayer fire Error(1, -1004) but with no callback to js