@Override
        public void onPrepared(MediaPlayer mp) {
            mCurrentState = STATE_PREPARED;

            setPlaybackSpeed(mPlaybackSpeedWhenPrepared);

            if(mOnPreparedListener != null) {
                mOnPreparedListener.onPrepared(mp);
            }

            int seekToPosition = mSeekWhenPrepared;  // mSeekWhenPrepared may be changed after seekTo() call
            if (seekToPosition != 0) {
                seekTo(seekToPosition);
            }

            if(mTargetState == STATE_PLAYING) {
                start();
            }
        }
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