code: protected void init() {
          Log.d(TAG, "init");
  
          if (isInEditMode())
              return;
  
          this.mediaPlayer = null;
          this.shouldAutoplay = false;
          this.fullscreen = false;
          this.initialConfigOrientation = -1;
          this.videoIsReady = false;
          this.surfaceIsReady = false;
          this.initialMovieHeight = -1;
          this.initialMovieWidth = -1;
          this.setBackgroundColor(Color.BLACK);
  
          initObjects();
      }
docs: Initializes the default configuration