@Override
        public boolean onError(MediaPlayer mp, int what, int extra) {
            mCurrentState = STATE_ERROR;
            mTargetState = STATE_ERROR;
            if(mOnErrorListener != null) {
                return mOnErrorListener.onError(mp, what, extra);
            }

            Toast.makeText(getContext(), "Cannot play the video", Toast.LENGTH_LONG).show();

            return true;
        }
Gets the current playback speed. See {@link #setPlaybackSpeed(float)} for details.
@return the current playback speed
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/VideoView.java