setUrl method

void setUrl(
  1. String url
)

Implementation

void setUrl(String url) {
  currentUrl = url;

  stop();
  recreateNode();
  if (isPlaying) {
    resume();
  }
}