library/src/main/java/com/devbrackets/android/exomedia/core/video/NativeVideoView.java
@Override
    public boolean restart() {
        if(currentState != State.COMPLETED) {
            return false;
        }

        seekTo(0);
        start();

        return true;
    }
/**
     * If the video has completed playback, calling {@code restart} will seek to the beginning of the video, and play it.
     *
     * @return {@code true} if the video was successfully restarted, otherwise {@code false}
     */
If the video has completed playback, calling  restart will seek to the beginning of the video, and play it.
@return  true if the video was successfully restarted, otherwise  false
If the video has completed playback calling restart will seek to the beginning of the video and play it . @return true if the video was successfully restarted otherwise false
@Override
    public boolean restart() {
        if(currentState != State.COMPLETED) {
            return false;
        }
        seekTo(0);
        start();
        return true;
    }
@ Override public boolean restart ( ) { if ( currentState != State . COMPLETED ) { return false ; } seekTo ( 0 ) ; start ( ) ; return true ; }
If the video has completed playback, calling {@code restart} will seek to the beginning of the video, and play it.
If the video has completed playback calling { @code restart } will seek to the beginning of the video and play it .