Beispiel #1
0
  /**
   * Sets the Uri location for the video to play
   *
   * @param uri The video's Uri
   * @param renderBuilder RenderBuilder that should be used
   */
  public void setVideoURI(@Nullable Uri uri, @Nullable RenderBuilder renderBuilder) {
    videoUri = uri;
    videoViewImpl.setVideoUri(uri, renderBuilder);

    if (videoControls != null) {
      videoControls.showLoading(true);
    }
  }
Beispiel #2
0
  /**
   * Sets the Uri location for the video to play
   *
   * @param uri The video's Uri
   */
  public void setVideoURI(@Nullable Uri uri) {
    videoUri = uri;
    videoViewImpl.setVideoUri(uri);

    if (videoControls != null) {
      videoControls.showLoading(true);
    }
  }